summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-07-14 10:44:21 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-07-14 10:44:21 +0200
commitdfb207807392bf30f3a07099fc3fc644553e5453 (patch)
tree5c27a4b486e0a59d6f48cceb4416821ddbb9ed1d /module/download_thread.py
parentmay stable (diff)
downloadpyload-dfb207807392bf30f3a07099fc3fc644553e5453.tar.xz
little fixes
Diffstat (limited to 'module/download_thread.py')
-rw-r--r--module/download_thread.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/download_thread.py b/module/download_thread.py
index 2c9cc8791..27abe919d 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -113,6 +113,8 @@ class Download_Thread(threading.Thread):
pyfile.status.type = "reconnected"
pyfile.status.want_reconnect = False
raise Reconnect
+ if pyfile.plugin.req.abort:
+ raise AbortDownload
sleep(1)
pyfile.status.want_reconnect = False
return True