summaryrefslogtreecommitdiffstats
path: root/pyload/Thread/Addon.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/Thread/Addon.py')
-rw-r--r--pyload/Thread/Addon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/Thread/Addon.py b/pyload/Thread/Addon.py
index 35168f615..e28fafd29 100644
--- a/pyload/Thread/Addon.py
+++ b/pyload/Thread/Addon.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
# @author: RaNaN
+import Queue
+import copy
import os
import sys
import time
import traceback
-from Queue import Queue
-from copy import copy
from pprint import pformat
from types import MethodType
@@ -62,7 +62,7 @@ class AddonThread(PluginThread):
del self.kwargs['thread']
self.f(*self.args, **self.kwargs)
finally:
- local = copy(self.active)
+ local = copy.copy(self.active)
for x in local:
self.finishFile(x)