X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/0f02ac7a9d94f33a8a96c6840bcabf25645f3669..6db805313b11c1a3864cf373268b5110d38eaceb:/dot/ipython-config.py?ds=sidebyside diff --git a/dot/ipython-config.py b/dot/ipython-config.py index f48e057..a736800 100644 --- a/dot/ipython-config.py +++ b/dot/ipython-config.py @@ -52,7 +52,7 @@ if PYG and getattr(PYG, 'token', None): T.Punctuation: '#eec591', } -if PYG and PTK: +if PTK and getattr(PTK, 'token', None): d = { PTK.token.Token.MatchingBracket: '', PTK.token.Token.MatchingBracket.Cursor: '',