Fixed a @reload bug caused by last-minute OOB addition.
This commit is contained in:
parent
02d6b7aca8
commit
1ba54202e8
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ _DA = object.__delattr__
|
||||||
# load from plugin module
|
# load from plugin module
|
||||||
_OOB_FUNCS = {}
|
_OOB_FUNCS = {}
|
||||||
for mod in make_iter(settings.OOB_PLUGIN_MODULES):
|
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)
|
_OOB_ERROR = _OOB_FUNCS.get("oob_error", None)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue