From 6db805313b11c1a3864cf373268b5110d38eaceb Mon Sep 17 00:00:00 2001 Message-Id: <6db805313b11c1a3864cf373268b5110d38eaceb.1746206946.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 12 Jul 2024 17:45:56 +0100 Subject: [PATCH] dot/ipython-config.py: Fix bungled capability check. Organization: Straylight/Edgeware From: Mark Wooding --- dot/ipython-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: '', -- [mdw]