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