summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-16 21:10:27 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-16 21:10:27 +0200
commitd7b1073a40278f113dcb7269d275ec6625ef8504 (patch)
tree891f653ebcc4a657dfa06a48b9b2a3537ca1598d /module
parentYoutube Playlist (diff)
downloadpyload-d7b1073a40278f113dcb7269d275ec6625ef8504.tar.xz
little fixes
Diffstat (limited to 'module')
-rw-r--r--module/PluginManager.py2
-rw-r--r--module/plugins/Container.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py
index 8bb5a5ec6..8f2a94ca9 100644
--- a/module/PluginManager.py
+++ b/module/PluginManager.py
@@ -156,7 +156,7 @@ class PluginManager():
res.append((url, last[0]))
continue
- for name, value in chain(self.containerPlugins.iteritems(), self.crypterPlugins.iteritems(), self.hosterPlugins.iteritems() ):
+ for name, value in chain(self.crypterPlugins.iteritems(), self.hosterPlugins.iteritems(), self.containerPlugins.iteritems() ):
if value["re"].match(url):
res.append((url, name))
last = (name, value)
diff --git a/module/plugins/Container.py b/module/plugins/Container.py
index 1539ea37e..e7b7cc7d6 100644
--- a/module/plugins/Container.py
+++ b/module/plugins/Container.py
@@ -21,6 +21,7 @@ from module.plugins.Crypter import Crypter
from os.path import join, exists, basename
from os import remove
+import re
class Container(Crypter):
__name__ = "Container"