From fcead1870013b6a970eca7878a66dbe783c80ea3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 03:40:45 +0100 Subject: Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1 --- pyload/plugin/hook/LinkdecrypterCom.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pyload/plugin/hook/LinkdecrypterCom.py') diff --git a/pyload/plugin/hook/LinkdecrypterCom.py b/pyload/plugin/hook/LinkdecrypterCom.py index 6465d95e0..fff596386 100644 --- a/pyload/plugin/hook/LinkdecrypterCom.py +++ b/pyload/plugin/hook/LinkdecrypterCom.py @@ -8,13 +8,13 @@ from pyload.utils import remove_chars class LinkdecrypterCom(Addon): - __name = "LinkdecrypterCom" - __type = "hook" - __version = "0.21" + __name__ = "LinkdecrypterCom" + __type__ = "hook" + __version__ = "0.21" - __description = """Linkdecrypter.com hook plugin""" - __license = "GPLv3" - __authors = [("zoidberg", "zoidberg@mujmail.cz")] + __description__ = """Linkdecrypter.com hook plugin""" + __license__ = "GPLv3" + __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] def activate(self): @@ -53,7 +53,7 @@ class LinkdecrypterCom(Addon): regexp = r'https?://([^.]+\.)*?(%s)/.*' % '|'.join(online) - dict = self.core.pluginManager.crypterPlugins[self.__name] + dict = self.core.pluginManager.crypterPlugins[self.__name__] dict['pattern'] = regexp dict['re'] = re.compile(regexp) -- cgit v1.2.3