diff options
-rw-r--r-- | markdown/core.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/markdown/core.py b/markdown/core.py index 0fcf71d..4b8d1a6 100644 --- a/markdown/core.py +++ b/markdown/core.py @@ -108,9 +108,11 @@ class Markdown(object): ) elif ext is not None: raise TypeError( - 'Extension "%s.%s" must be of type: "markdown.Extension"' - % (ext.__class__.__module__, ext.__class__.__name__)) - + 'Extension "%s.%s" must be of type: "%s.%s"' % ( + ext.__class__.__module__, ext.__class__.__name__, + Extension.__module__, Extension.__name__ + ) + ) return self def build_extension(self, ext_name, configs): |