X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/87e4a2e8c91e928db017573db09d085e97938fd3..e98b12c7afb34be03edda58d5f54c23a07d8991e:/dot/ipython-config.py 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: '',