diff options
Diffstat (limited to 'markdown/__init__.py')
-rw-r--r-- | markdown/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py index 9aa3432..107f702 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -234,8 +234,8 @@ class Markdown(object): ) # For backward compat (until deprecation) # check that this is an extension. - if ('.' not in ext_name and not (hasattr(module, 'makeExtension') - or (class_name and hasattr(module, class_name)))): + 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 raise ImportError |