From 906bb7c1ecc5c34aa93148894eef763f27eba98e Mon Sep 17 00:00:00 2001 From: Walter Purcaro <vuolter@users.noreply.github.com> Date: Tue, 12 May 2015 12:22:20 +0200 Subject: Other import fixes --- pyload/Thread/Addon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyload/Thread/Addon.py') 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) -- cgit v1.2.3