From c669bf05af8a8ff89b6c7dc9b1255ef396a41a8f Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 8 Dec 2008 20:18:42 -0500 Subject: One more tweak to extension loading. --- markdown/__init__.py | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3