summaryrefslogtreecommitdiffstats
path: root/pyload/Thread/Download.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/Thread/Download.py')
-rw-r--r--pyload/Thread/Download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/Thread/Download.py b/pyload/Thread/Download.py
index d7a55ad24..c7c2470dd 100644
--- a/pyload/Thread/Download.py
+++ b/pyload/Thread/Download.py
@@ -2,6 +2,7 @@
# @author: RaNaN
import os
+import sys
import time
import traceback
@@ -10,7 +11,6 @@ import pycurl
from Queue import Queue
from copy import copy
from pprint import pformat
-from sys import exc_info, exc_clear
from types import MethodType
from pyload.Thread.Plugin import PluginThread
@@ -193,7 +193,7 @@ class DownloadThread(PluginThread):
finally:
self.m.core.files.save()
pyfile.checkIfProcessed()
- exc_clear()
+ sys.exc_clear()
# pyfile.plugin.req.clean()