From 8318540e162cccbb049bebebc5aca03384a1e4e9 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 29 Dec 2013 21:07:28 +0100 Subject: added progress type enum, new DebugCrypter + Hoster, little improvements for crypter api --- pyload/threads/AddonThread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/threads/AddonThread.py') diff --git a/pyload/threads/AddonThread.py b/pyload/threads/AddonThread.py index fd613bdec..d8d84cbfa 100644 --- a/pyload/threads/AddonThread.py +++ b/pyload/threads/AddonThread.py @@ -4,7 +4,7 @@ from copy import copy from traceback import print_exc -from pyload.Api import ProgressInfo +from pyload.Api import ProgressInfo, ProgressType from BaseThread import BaseThread class AddonThread(BaseThread): @@ -38,7 +38,7 @@ class AddonThread(BaseThread): if self.active: active = self.active[0] return ProgressInfo(active.pluginname, active.name, active.getStatusName(), 0, - self.progress, 100) + self.progress, 100, self.owner, ProgressType.Addon) def addActive(self, pyfile): """ Adds a pyfile to active list and thus will be displayed on overview""" -- cgit v1.2.3