pygments print to debug

This commit is contained in:
a 2020-10-30 14:19:31 +03:00
parent 1f314ab573
commit 63c9fdff66

View file

@ -298,9 +298,11 @@ def load_or_build():
else:
import sys
print("pygments cache not found, building...", file=sys.stderr)
if DEBUG:
print("pygments cache not found, building...", file=sys.stderr)
CACHE = build_cache()
print("...writing cache to " + fname, file=sys.stderr)
if DEBUG:
print("...writing cache to " + fname, file=sys.stderr)
write_cache(fname)