summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hook/LinkdecrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
commit2439bc22671dde697817291b721bfddb792a93b4 (patch)
treedad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/hook/LinkdecrypterCom.py
parentRevert plugin directory structure (diff)
downloadpyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/hook/LinkdecrypterCom.py')
-rw-r--r--pyload/plugins/hook/LinkdecrypterCom.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugins/hook/LinkdecrypterCom.py b/pyload/plugins/hook/LinkdecrypterCom.py
index 0e8ec7554..41aa434d4 100644
--- a/pyload/plugins/hook/LinkdecrypterCom.py
+++ b/pyload/plugins/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 coreReady(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)