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/hoster/RPNetBiz.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/plugin/hoster/RPNetBiz.py') diff --git a/pyload/plugin/hoster/RPNetBiz.py b/pyload/plugin/hoster/RPNetBiz.py index aea39f76d..c6dfae9a6 100644 --- a/pyload/plugin/hoster/RPNetBiz.py +++ b/pyload/plugin/hoster/RPNetBiz.py @@ -7,15 +7,15 @@ from pyload.utils import json_loads class RPNetBiz(Hoster): - __name = "RPNetBiz" - __type = "hoster" - __version = "0.10" + __name__ = "RPNetBiz" + __type__ = "hoster" + __version__ = "0.10" - __description = """RPNet.biz hoster plugin""" - __license = "GPLv3" + __description__ = """RPNet.biz hoster plugin""" + __license__ = "GPLv3" - __pattern = r'https?://.*rpnet\.biz' - __authors = [("Dman", "dmanugm@gmail.com")] + __pattern__ = r'https?://.*rpnet\.biz' + __authors__ = [("Dman", "dmanugm@gmail.com")] def setup(self): @@ -24,7 +24,7 @@ class RPNetBiz(Hoster): def process(self, pyfile): - if re.match(self.__pattern, pyfile.url): + if re.match(self.__pattern__, pyfile.url): link_status = {'generated': pyfile.url} elif not self.account: # Check account -- cgit v1.2.3