diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-12-08 20:18:42 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-12-08 20:18:42 -0500 |
commit | c669bf05af8a8ff89b6c7dc9b1255ef396a41a8f (patch) | |
tree | 1ba798e2506cf3c9c91996cadc8c017ced25c7f1 | |
parent | 971d605e2e1d0652b5ea161fe0c35a40d9685e5c (diff) | |
download | markdown-c669bf05af8a8ff89b6c7dc9b1255ef396a41a8f.tar.gz markdown-c669bf05af8a8ff89b6c7dc9b1255ef396a41a8f.tar.bz2 markdown-c669bf05af8a8ff89b6c7dc9b1255ef396a41a8f.zip |
One more tweak to extension loading.
-rw-r--r-- | markdown/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py index 44cb25e..9d3a262 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -466,6 +466,7 @@ def load_extension(ext_name, configs = []): except ImportError: message(CRITICAL, "Failed loading extension '%s' from '%s' or '%s'" % (ext_name, module_name_new_style, module_name_old_style)) + return None # If the module is loaded successfully, we expect it to define a # function called makeExtension() |