summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/RPNetBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/hoster/RPNetBiz.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/RPNetBiz.py')
-rw-r--r--pyload/plugin/hoster/RPNetBiz.py16
1 files changed, 8 insertions, 8 deletions
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