From 725f4ee53a8e8797492329d015af18262e9ca369 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 15 Jun 2015 02:05:56 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1496 --- module/plugins/internal/Hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal') diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py index 6931a7dba..71e8866f3 100644 --- a/module/plugins/internal/Hook.py +++ b/module/plugins/internal/Hook.py @@ -24,7 +24,7 @@ def threaded(fn): class Hook(Base): __name__ = "Hook" __type__ = "hook" - __version__ = "0.03" + __version__ = "0.04" __config__ = [] #: [("name", "type", "desc", "default")] __threaded__ = [] #@TODO: Remove in 0.4.10 @@ -183,7 +183,7 @@ class Hook(Base): #: Deprecated, use method `captchaTask` instead def newCaptchaTask(self, task): - return self.captchaTask() + return self.captchaTask(task) def captchaCorrect(self, task): -- cgit v1.2.3