diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-04-19 16:28:24 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-04-19 16:28:24 -0500 |
commit | 234ddad607fa8d38e01c9ff1386fc32427c99d8f (patch) | |
tree | 61d186ec07f1a0b98ac1e040f7e7cad0ce7497f3 | |
parent | d1146101bbbbad686d7c59df0eea7b148ea51af3 (diff) | |
download | mediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.tar.lz mediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.tar.xz mediagoblin-234ddad607fa8d38e01c9ff1386fc32427c99d8f.zip |
we should be returning the result, not None!
-rw-r--r-- | mediagoblin/tools/pluginapi.py | 2 |
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): |