diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-06 16:42:37 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-06 16:42:37 +0200 |
commit | 6081ce0066f05d4d3be8c2692f4519f37d3031f3 (patch) | |
tree | d87b09620849909d53ce70f4c57442e171e9231a /module/PluginManager.py | |
parent | refactored plugins, new plugin manager (diff) | |
download | pyload-6081ce0066f05d4d3be8c2692f4519f37d3031f3.tar.xz |
dlc update
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r-- | module/PluginManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py index f4a3ee8ee..3bf9345d1 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -61,9 +61,9 @@ class PluginManager(): if not pluginModule: continue pluginName = pluginModule.split(".")[-1] - if pluginName.endswith("_25") and not version_info == (2, 5): + if pluginName.endswith("_25") and not version_info[0:2] == (2, 5): continue - elif pluginName.endswith("_26") and not version_info == (2, 6): + elif pluginName.endswith("_26") and not version_info[0:2] == (2, 6): continue module = __import__(pluginModule, globals(), locals(), [pluginName], -1) pluginClass = getattr(module, pluginName) |