mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix typo.
This commit is contained in:
parent
3570acff72
commit
e787f3343e
@ -60,7 +60,7 @@ def loadPluginModule(name, ignoreDeprecation=False):
|
||||
module = imp.load_module(name, *moduleInfo)
|
||||
except:
|
||||
sys.modules.pop(name, None)
|
||||
sys.modules = filter(lambda x:not x.startwith(name + '.'), sys.modules)
|
||||
sys.modules = filter(lambda x:not x.startswith(name + '.'), sys.modules)
|
||||
raise
|
||||
if 'deprecated' in module.__dict__ and module.deprecated:
|
||||
if ignoreDeprecation:
|
||||
|
Loading…
Reference in New Issue
Block a user