summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-11 23:35:17 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-11 23:35:17 -0400
commit07a96014142ee9526e420e3cc4695925498ccb25 (patch)
tree5caa3afc9618d239728e9afb726ba9ecb0781c9e
parent846f963a1456a8d770e219a7a551ff0e7e2c8160 (diff)
downloadcgit-syntax-highlighting-07a96014142ee9526e420e3cc4695925498ccb25.tar.xz
cgit-syntax-highlighting-07a96014142ee9526e420e3cc4695925498ccb25.zip
rebase fixup
-rwxr-xr-xsyntax-highlighting-server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/syntax-highlighting-server.py b/syntax-highlighting-server.py
index 9f534c6..a1e30d6 100755
--- a/syntax-highlighting-server.py
+++ b/syntax-highlighting-server.py
@@ -11,6 +11,7 @@
# to listen on a public network. Once configured, set your cgit source filter
# to syntax-highlighting-client.sh.
+import pygments
from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexers import guess_lexer, guess_lexer_for_filename