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.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