diff --git a/src/plugin.py b/src/plugin.py index 34fae6021..3cab81702 100644 --- a/src/plugin.py +++ b/src/plugin.py @@ -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: