diff options
Diffstat (limited to 'deluge')
-rw-r--r-- | deluge/pluginmanagerbase.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deluge/pluginmanagerbase.py b/deluge/pluginmanagerbase.py index 767535805..2c1744555 100644 --- a/deluge/pluginmanagerbase.py +++ b/deluge/pluginmanagerbase.py @@ -105,7 +105,9 @@ class PluginManagerBase(object): for dirname in plugin_dirs: pkg_resources.working_set.add_entry(dirname) - self.pkg_env = pkg_resources.Environment(plugin_dirs, None) + self.pkg_env = pkg_resources.Environment( + plugin_dirs, platform=None, python=None + ) self.available_plugins = [] for name in self.pkg_env: |