From 234ddad607fa8d38e01c9ff1386fc32427c99d8f Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 19 Apr 2013 16:28:24 -0500 Subject: [PATCH] we should be returning the result, not None! --- mediagoblin/tools/pluginapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/tools/pluginapi.py b/mediagoblin/tools/pluginapi.py index 00586268..ab90ed55 100644 --- a/mediagoblin/tools/pluginapi.py +++ b/mediagoblin/tools/pluginapi.py @@ -379,7 +379,7 @@ def hook_handle(hook_name, *args, **kwargs): if result is None and default_handler is not None: result = default_handler(*args, **kwargs) - return None + return result def hook_runall(hook_name, *args, **kwargs):