aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py
index 9442612..709ed50 100644
--- a/markdown.py
+++ b/markdown.py
@@ -1238,8 +1238,8 @@ class Markdown:
elif isinstance(ext, Extension):
pass # nothing to do here
else:
- message(ERROR, "Incorrect type! Extension %s is "
- "neither a string or an Extension.")
+ message(ERROR, "Incorrect type! Extension '%s' is "
+ "neither a string or an Extension." %(repr(ext)))
continue
ext.extendMarkdown(self, globals())