summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/FastixRu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
commit2439bc22671dde697817291b721bfddb792a93b4 (patch)
treedad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/hoster/FastixRu.py
parentRevert plugin directory structure (diff)
downloadpyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/hoster/FastixRu.py')
-rw-r--r--pyload/plugins/hoster/FastixRu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugins/hoster/FastixRu.py b/pyload/plugins/hoster/FastixRu.py
index eead00f28..47bfa4035 100644
--- a/pyload/plugins/hoster/FastixRu.py
+++ b/pyload/plugins/hoster/FastixRu.py
@@ -10,15 +10,15 @@ from pyload.plugins.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")