From 8e15c1af88b61cebda68a3b40352bf388c2010c7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Oct 2015 17:49:14 +0200 Subject: Spare code cosmetics (3) --- module/plugins/hooks/DeathByCaptcha.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hooks/DeathByCaptcha.py') diff --git a/module/plugins/hooks/DeathByCaptcha.py b/module/plugins/hooks/DeathByCaptcha.py index d3d00affa..c1f33be6d 100644 --- a/module/plugins/hooks/DeathByCaptcha.py +++ b/module/plugins/hooks/DeathByCaptcha.py @@ -11,7 +11,7 @@ from base64 import b64encode from module.common.json_layer import json_loads from module.network.HTTPRequest import BadHeader from module.network.RequestFactory import getRequest as get_request -from module.plugins.internal.Hook import Hook, threaded +from module.plugins.internal.Addon import Addon, threaded class DeathByCaptchaException(Exception): @@ -48,8 +48,8 @@ class DeathByCaptchaException(Exception): return "" % self.err -class DeathByCaptcha(Hook): - __name__ = "DeathByCaptcha" +class DeathByCaptcha(Addon): + __name = "DeathByCaptcha" __type__ = "hook" __version__ = "0.08" __status__ = "testing" -- cgit v1.2.3