diff options
author | 2015-02-16 03:40:45 +0100 | |
---|---|---|
committer | 2015-02-16 03:40:45 +0100 | |
commit | fcead1870013b6a970eca7878a66dbe783c80ea3 (patch) | |
tree | 9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/hoster/MyfastfileCom.py | |
parent | Init cosmetics (diff) | |
download | pyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz |
Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1
Diffstat (limited to 'pyload/plugin/hoster/MyfastfileCom.py')
-rw-r--r-- | pyload/plugin/hoster/MyfastfileCom.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/MyfastfileCom.py b/pyload/plugin/hoster/MyfastfileCom.py index 528a4c2c8..b67b221d2 100644 --- a/pyload/plugin/hoster/MyfastfileCom.py +++ b/pyload/plugin/hoster/MyfastfileCom.py @@ -7,15 +7,15 @@ from pyload.utils import json_loads class MyfastfileCom(Hoster): - __name = "MyfastfileCom" - __type = "hoster" - __version = "0.04" + __name__ = "MyfastfileCom" + __type__ = "hoster" + __version__ = "0.04" - __pattern = r'http://(?:www\.)?\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/dl/' + __pattern__ = r'http://(?:www\.)?\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/dl/' - __description = """Myfastfile.com hoster plugin""" - __license = "GPLv3" - __authors = [("stickell", "l.stickell@yahoo.it")] + __description__ = """Myfastfile.com hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("stickell", "l.stickell@yahoo.it")] @@ -25,7 +25,7 @@ class MyfastfileCom(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") % "Myfastfile.com") |