diff kitten: Fix spurious traceback on exit when pygments is missing
Fixes #863
This commit is contained in:
parent
1949f3c3d5
commit
3bd45966c6
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
try:
|
||||
from .highlight import initialize_highlighter, highlight_collection
|
||||
except ImportError:
|
||||
initialize_highlighter = None
|
||||
initialize_highlighter = highlight_collection = None
|
||||
|
||||
|
||||
INITIALIZING, COLLECTED, DIFFED, COMMAND, MESSAGE = range(5)
|
||||
|
|
|
|||
Loading…
Reference in a new issue