From 868fc0690b5ae59c83196c9918932d1fb14533dd Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 21 Jun 2009 15:27:00 +0200 Subject: fixed no url return bug --- module/download_thread.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/download_thread.py') 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 -- cgit v1.2.3