summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/download_thread.py')
-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