summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaCoNz.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/MegaCoNz.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/MegaCoNz.py')
-rw-r--r--module/plugins/hoster/MegaCoNz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py
index 784131842..2179dac70 100644
--- a/module/plugins/hoster/MegaCoNz.py
+++ b/module/plugins/hoster/MegaCoNz.py
@@ -46,7 +46,7 @@ from module.utils import decode, fs_decode, fs_encode
class MegaCoNz(Hoster):
- __name__ = "MegaCoNz"
+ __name = "MegaCoNz"
__type__ = "hoster"
__version__ = "0.31"
__status__ = "testing"
@@ -188,7 +188,7 @@ class MegaCoNz(Hoster):
def process(self, pyfile):
- pattern = re.match(self.__pattern__, pyfile.url).groupdict()
+ pattern = re.match(self.__pattern, pyfile.url).groupdict()
id = pattern['ID']
key = pattern['KEY']
public = pattern['TYPE'] == ""