aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-04-19 16:28:24 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-04-19 16:28:24 -0500
commit234ddad607fa8d38e01c9ff1386fc32427c99d8f (patch)
tree61d186ec07f1a0b98ac1e040f7e7cad0ce7497f3
parentd1146101bbbbad686d7c59df0eea7b148ea51af3 (diff)
downloadmediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.tar.lz
mediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.tar.xz
mediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.zip
we should be returning the result, not None!
-rw-r--r--mediagoblin/tools/pluginapi.py2
1 files changed, 1 insertions, 1 deletions
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):