summaryrefslogtreecommitdiff
path: root/syntax-highlighting-server.py
diff options
context:
space:
mode:
Diffstat (limited to 'syntax-highlighting-server.py')
-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