summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--module/network/HTTPDownload.py2
-rw-r--r--module/plugins/Plugin.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index 6a97c7aea..f0d3b675d 100644
--- a/README
+++ b/README
@@ -35,7 +35,6 @@ Requirements
pycrypto: RSDF/CCF/DLC support
pycurl: lower memory footprint while downloading
pyqt4: for the GUI
-django: for webinterface
tesseract, PIL: Captcha recognition
First start
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 603fea7a8..0f06dcd6f 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -248,8 +248,8 @@ class HTTPDownload():
def close(self):
""" cleanup """
for chunk in self.chunks:
- chunk.close()
self.m.remove_handle(chunk.c)
+ chunk.close()
self.chunks = []
if hasattr(self, "m"):
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