summaryrefslogtreecommitdiffstats
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
parentrefactored plugins, new plugin manager (diff)
downloadpyload-6081ce0066f05d4d3be8c2692f4519f37d3031f3.tar.xz
dlc update
-rw-r--r--.hgignore2
-rw-r--r--module/PluginManager.py4
-rw-r--r--module/plugins/Crypter.py1
-rw-r--r--module/plugins/container/DLC_25.pycbin5910 -> 6051 bytes
-rw-r--r--module/plugins/container/DLC_26.pycbin6162 -> 6051 bytes
5 files changed, 4 insertions, 3 deletions
diff --git a/.hgignore b/.hgignore
index d04b715b3..67c7b86f8 100644
--- a/.hgignore
+++ b/.hgignore
@@ -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
index e05ef78a2..16833d37a 100644
--- a/module/plugins/container/DLC_25.pyc
+++ b/module/plugins/container/DLC_25.pyc
Binary files differ
diff --git a/module/plugins/container/DLC_26.pyc b/module/plugins/container/DLC_26.pyc
index 29f77a9c3..74947a504 100644
--- a/module/plugins/container/DLC_26.pyc
+++ b/module/plugins/container/DLC_26.pyc
Binary files differ