summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/network/Browser.py1
-rw-r--r--module/network/HTTPDownload.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 994a1bcc7..e163802bb 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -77,7 +77,6 @@ class Browser(object):
self.dl.download(chunks, resume)
self._size = self.dl.size
- self.dl.close()
self.dl = None
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 3bd9a1184..77c5f480f 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -114,7 +114,7 @@ class HTTPDownload():
try:
self._download(chunks, resume)
finally:
- self.clean()
+ self.close()
def _download(self, chunks, resume):
if not resume: