From d739c5809256dcacb2f7e739a06e8f4107f7e20c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 17 Jun 2011 20:25:48 +0200 Subject: fixed last commit --- module/plugins/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/Plugin.py') 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 -- cgit v1.2.3