summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegacrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
commit8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch)
treebd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hoster/MegacrypterCom.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/MegacrypterCom.py')
-rw-r--r--module/plugins/hoster/MegacrypterCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegacrypterCom.py b/module/plugins/hoster/MegacrypterCom.py
index fc20890e4..206a8e8ce 100644
--- a/module/plugins/hoster/MegacrypterCom.py
+++ b/module/plugins/hoster/MegacrypterCom.py
@@ -8,7 +8,7 @@ from module.plugins.hoster.MegaCoNz import MegaCoNz
class MegacrypterCom(MegaCoNz):
- __name__ = "MegacrypterCom"
+ __name = "MegacrypterCom"
__type__ = "hoster"
__version__ = "0.23"
__status__ = "testing"
@@ -36,7 +36,7 @@ class MegacrypterCom(MegaCoNz):
def process(self, pyfile):
#: Match is guaranteed because plugin was chosen to handle url
- node = re.match(self.__pattern__, pyfile.url).group(0)
+ node = re.match(self.__pattern, pyfile.url).group(0)
#: get Mega.co.nz link info
info = self.api_response(link=node, m="info")