aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py
index fc51288..9aa3432 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -234,7 +234,7 @@ class Markdown(object):
)
# For backward compat (until deprecation)
# check that this is an extension.
- if ('.' not in ext_name and not (hasattr(module, 'extendMarkdown')
+ if ('.' not in ext_name and not (hasattr(module, 'makeExtension')
or (class_name and hasattr(module, class_name)))):
# We have a name conflict
# eg: extensions=['tables'] and PyTables is installed