diff --git a/pastebin/apps/dpaste/highlight.py b/pastebin/apps/dpaste/highlight.py index f1bfcf5..02245d3 100644 --- a/pastebin/apps/dpaste/highlight.py +++ b/pastebin/apps/dpaste/highlight.py @@ -1,5 +1,6 @@ from pygments import highlight from pygments.lexers import * +from pygments.lexers import get_all_lexers from pygments.formatters import HtmlFormatter from django.utils.html import escape