summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-06 16:42:37 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-06 16:42:37 +0200
commit6081ce0066f05d4d3be8c2692f4519f37d3031f3 (patch)
treed87b09620849909d53ce70f4c57442e171e9231a /module/PluginManager.py
parentrefactored plugins, new plugin manager (diff)
downloadpyload-6081ce0066f05d4d3be8c2692f4519f37d3031f3.tar.xz
dlc update
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py4
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)