summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-06-21 15:27:00 +0200
committerGravatar spoob <spoob@gmx.de> 2009-06-21 15:27:00 +0200
commit868fc0690b5ae59c83196c9918932d1fb14533dd (patch)
tree6d8978f3aa520843f0c9df3be45e4d99f218822a /module
parentcli able to add links (diff)
downloadpyload-868fc0690b5ae59c83196c9918932d1fb14533dd.tar.xz
fixed no url return bug
Diffstat (limited to 'module')
-rw-r--r--module/download_thread.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/download_thread.py b/module/download_thread.py
index f7aa2ecb1..378ae8f79 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -90,8 +90,9 @@ class Download_Thread(threading.Thread):
status.want_reconnect = False
return False
sleep(1)
- if status.filename == "":
- status.filename = pyfile.get_filename()
+
+ if status.url == "":
+ status.url = pyfile.plugin.get_file_url()
status.want_reconnect = False