fix pyobjects loader change

This commit is contained in:
Thomas S Hatch 2015-04-15 22:48:34 -06:00
parent 27ab725cf4
commit 7e91de265c

View File

@ -306,6 +306,8 @@ def load_states():
# TODO: some way to lazily do this? This requires loading *all* state modules
for key, func in lazy_states.iteritems():
if '.' not in key:
continue
mod_name, func_name = key.split('.', 1)
if mod_name not in states:
states[mod_name] = {}