mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed bug #898028.
This commit is contained in:
parent
ced437b309
commit
6d117b2992
@ -84,7 +84,8 @@ def loadPluginModule(name, ignoreDeprecation=False):
|
||||
try:
|
||||
module = imp.load_module(name, *moduleInfo)
|
||||
except:
|
||||
del sys.modules[name]
|
||||
if name in sys.modules:
|
||||
del sys.modules[name]
|
||||
raise
|
||||
if 'deprecated' in module.__dict__ and module.deprecated:
|
||||
if ignoreDeprecation:
|
||||
|
Loading…
Reference in New Issue
Block a user