summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-17 20:25:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-17 20:25:48 +0200
commitd739c5809256dcacb2f7e739a06e8f4107f7e20c (patch)
treeacf7df065d67ba34e63138f61bfcb760cf901920 /module/plugins
parentskip files across packages (diff)
downloadpyload-d739c5809256dcacb2f7e739a06e8f4107f7e20c.tar.xz
fixed last commit
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index bdb1af77b..68fb6f8be 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -521,7 +521,7 @@ class Plugin(object):
cache = self.core.files.cache.values()
for pyfile in cache:
- if pyfile != self.pyfile and pyfile.package().folder == pack.folder:
+ if pyfile != self.pyfile and pyfile.name == self.pyfile.name and pyfile.package().folder == pack.folder:
if pyfile.status in (0, 12): #finished or downloading
raise SkipDownload(pyfile.pluginname)
elif pyfile.status in (5, 7) and starting: #a download is waiting/starting and was appenrently started before