summaryrefslogtreecommitdiff
path: root/makesite.py
diff options
context:
space:
mode:
authorPaper Mountain Studio <kodycze@gmail.com>2018-11-15 17:27:07 +0100
committerPaper Mountain Studio <kodycze@gmail.com>2018-11-15 17:27:07 +0100
commitb3fb11e4282a118591e8768935c7792f56ee0ebe (patch)
treeec7a7ee438d95669f17fea068f60f54318c8b944 /makesite.py
parent274a87c8f5b65c659f3a82135216dabc87a3d340 (diff)
Renamed module CommonMark to commonmark
Diffstat (limited to 'makesite.py')
-rwxr-xr-xmakesite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/makesite.py b/makesite.py
index 7ae80fe..bb97abc 100755
--- a/makesite.py
+++ b/makesite.py
@@ -102,8 +102,8 @@ def read_content(filename):
try:
if _test == 'ImportError':
raise ImportError('Error forced by test')
- import CommonMark
- text = CommonMark.commonmark(text)
+ import commonmark
+ text = commonmark.commonmark(text)
except ImportError as e:
log('WARNING: Cannot render Markdown in {}: {}', filename, str(e))