mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-02 22:53:40 +00:00
[Plugins] Fix allow enabling any plugin Python version
Properly fix allow enabling any plugin Python version, first attempted in previous commit 3433a91 Closes: deluge-torrent/deluge#316
This commit is contained in:
parent
d56636426e
commit
7a110bd60f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user