summaryrefslogtreecommitdiff
path: root/creole/shared/example_macros.py
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2020-01-19 10:53:54 +0100
committerJensDiemer <git@jensdiemer.de>2020-01-19 10:53:54 +0100
commit02b095a123013f115e5b8501388954c8dc497dd7 (patch)
tree3b545f0e3f53a18a32341646dc3b7ba28dd6adde /creole/shared/example_macros.py
parent748b8a55d227066602699836078b3032c55b6f6b (diff)
downloadcreole-02b095a123013f115e5b8501388954c8dc497dd7.tar.gz
fix import code style with isort
Diffstat (limited to 'creole/shared/example_macros.py')
-rw-r--r--creole/shared/example_macros.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/creole/shared/example_macros.py b/creole/shared/example_macros.py
index 428d5d2..25deac7 100644
--- a/creole/shared/example_macros.py
+++ b/creole/shared/example_macros.py
@@ -15,13 +15,14 @@
from xml.sax.saxutils import escape
+from creole.shared.utils import get_pygments_formatter, get_pygments_lexer
+
try:
from pygments import highlight
PYGMENTS = True
except ImportError:
PYGMENTS = False
-from creole.shared.utils import get_pygments_lexer, get_pygments_formatter
def html(text):