From 1ba54202e853a516580ee598c1ccc8b8b2421723 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 30 Nov 2013 08:15:23 +0100 Subject: [PATCH] Fixed a @reload bug caused by last-minute OOB addition. --- src/server/oobhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/oobhandler.py b/src/server/oobhandler.py index 06b978942..6b43ef32e 100644 --- a/src/server/oobhandler.py +++ b/src/server/oobhandler.py @@ -46,7 +46,7 @@ _DA = object.__delattr__ # load from plugin module _OOB_FUNCS = {} for mod in make_iter(settings.OOB_PLUGIN_MODULES): - _OOB_FUNCS.update(dict((key.lower(), func) for key, func in all_from_module(mod) if isfunction(func))) + _OOB_FUNCS.update(dict((key.lower(), func) for key, func in all_from_module(mod).items() if isfunction(func))) _OOB_ERROR = _OOB_FUNCS.get("oob_error", None)