Skip to content
Snippets Groups Projects
Commit 195d0121 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix uninstalling plugins

parent 6a46ab3d
No related branches found
No related tags found
No related merge requests found
......@@ -544,7 +544,7 @@ class PluginManager(object):
self.plugins.remove(plugin)
if self._plugin_has_entry_in_global_config(plugin):
self._remove_plugin_entry_in_global_config(plugin)
del sys.modules[plugin.__module__.split('.')[-1]]
del sys.modules[plugin.__module__.split('.')[0]]
del plugin.__module__.split('.')[-1]
del plugin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment