summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Xdcc.py
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2012-02-05 15:53:40 +0100
committerGravatar Jeix <devnull@localhost> 2012-02-05 15:53:40 +0100
commitf631eda05ca45b7b503bb26aca746d735165d308 (patch)
tree92d087034eefd501bbdd875001d3e337a40ab99e /module/plugins/hoster/Xdcc.py
parentTreat most errors as tempfailures, this will solve the missing errors. (diff)
downloadpyload-f631eda05ca45b7b503bb26aca746d735165d308.tar.xz
xdcc fix
Diffstat (limited to 'module/plugins/hoster/Xdcc.py')
-rw-r--r--module/plugins/hoster/Xdcc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index 7d83b050c..6f0a1b176 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -215,7 +215,7 @@ class Xdcc(Hoster):
self.log.info("XDCC: Downloading %s from %s:%d" % (packname, ip, port))
self.pyfile.setStatus("downloading")
- newname = self.req.download(ip, port, filename, self.pyfile.setProgress)
+ newname = self.req.download(ip, port, filename, sock, self.pyfile.setProgress)
if newname and newname != filename:
self.log.info("%(name)s saved as %(newname)s" % {"name": self.pyfile.name, "newname": newname})
filename = newname
@@ -227,4 +227,3 @@ class Xdcc(Hoster):
self.lastDownload = filename
return self.lastDownload
-