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 | |
parent | refactored plugins, new plugin manager (diff) | |
download | pyload-6081ce0066f05d4d3be8c2692f4519f37d3031f3.tar.xz |
dlc update
-rw-r--r-- | .hgignore | 2 | ||||
-rw-r--r-- | module/PluginManager.py | 4 | ||||
-rw-r--r-- | module/plugins/Crypter.py | 1 | ||||
-rw-r--r-- | module/plugins/container/DLC_25.pyc | bin | 5910 -> 6051 bytes | |||
-rw-r--r-- | module/plugins/container/DLC_26.pyc | bin | 6162 -> 6051 bytes |
5 files changed, 4 insertions, 3 deletions
@@ -11,7 +11,7 @@ syntax: glob Downloads/* container/* Logs/* -Plugins/DLC.py +module/plugins/container/DLC_*.py failed_links.txt module/config/gui.xml module/config/core.xml 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) diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py index 31ea43262..09558ad0b 100644 --- a/module/plugins/Crypter.py +++ b/module/plugins/Crypter.py @@ -20,6 +20,7 @@ from module.plugins.Plugin import Plugin class Crypter(Plugin): + __name__ = "Crypter" __version__ = "0.1" __pattern__ = None __type__ = "container" diff --git a/module/plugins/container/DLC_25.pyc b/module/plugins/container/DLC_25.pyc Binary files differindex e05ef78a2..16833d37a 100644 --- a/module/plugins/container/DLC_25.pyc +++ b/module/plugins/container/DLC_25.pyc diff --git a/module/plugins/container/DLC_26.pyc b/module/plugins/container/DLC_26.pyc Binary files differindex 29f77a9c3..74947a504 100644 --- a/module/plugins/container/DLC_26.pyc +++ b/module/plugins/container/DLC_26.pyc |