summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FastixRu.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/FastixRu.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/FastixRu.py')
-rw-r--r--pyload/plugin/hoster/FastixRu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/FastixRu.py b/pyload/plugin/hoster/FastixRu.py
index 7e167e245..d48912a51 100644
--- a/pyload/plugin/hoster/FastixRu.py
+++ b/pyload/plugin/hoster/FastixRu.py
@@ -10,15 +10,15 @@ from pyload.plugin.Hoster import Hoster
class FastixRu(Hoster):
- __name = "FastixRu"
- __type = "hoster"
- __version = "0.04"
+ __name__ = "FastixRu"
+ __type__ = "hoster"
+ __version__ = "0.04"
- __pattern = r'http://(?:www\.)?fastix\.(ru|it)/file/(?P<ID>\w{24})'
+ __pattern__ = r'http://(?:www\.)?fastix\.(ru|it)/file/(?P<ID>\w{24})'
- __description = """Fastix hoster plugin"""
- __license = "GPLv3"
- __authors = [("Massimo Rosamilia", "max@spiritix.eu")]
+ __description__ = """Fastix hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Massimo Rosamilia", "max@spiritix.eu")]
def getFilename(self, url):
@@ -37,7 +37,7 @@ class FastixRu(Hoster):
def process(self, pyfile):
- if re.match(self.__pattern, pyfile.url):
+ if re.match(self.__pattern__, pyfile.url):
new_url = pyfile.url
elif not self.account:
self.logError(_("Please enter your %s account or deactivate this plugin") % "Fastix")