diff options
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) |