diff options
author | 2014-12-10 19:07:53 +0100 | |
---|---|---|
committer | 2014-12-10 19:07:53 +0100 | |
commit | 2439bc22671dde697817291b721bfddb792a93b4 (patch) | |
tree | dad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/hoster/SimplyPremiumCom.py | |
parent | Revert plugin directory structure (diff) | |
download | pyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz |
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/hoster/SimplyPremiumCom.py')
-rw-r--r-- | pyload/plugins/hoster/SimplyPremiumCom.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugins/hoster/SimplyPremiumCom.py b/pyload/plugins/hoster/SimplyPremiumCom.py index 271d05849..e3871dfb3 100644 --- a/pyload/plugins/hoster/SimplyPremiumCom.py +++ b/pyload/plugins/hoster/SimplyPremiumCom.py @@ -9,15 +9,15 @@ from pyload.plugins.hoster.UnrestrictLi import secondsToMidnight class SimplyPremiumCom(Hoster): - __name__ = "SimplyPremiumCom" - __type__ = "hoster" - __version__ = "0.03" + __name = "SimplyPremiumCom" + __type = "hoster" + __version = "0.03" - __pattern__ = r'https?://.*(simply-premium)\.com' + __pattern = r'https?://.*(simply-premium)\.com' - __description__ = """Simply-Premium.com hoster plugin""" - __license__ = "GPLv3" - __authors__ = [("EvolutionClip", "evolutionclip@live.de")] + __description = """Simply-Premium.com hoster plugin""" + __license = "GPLv3" + __authors = [("EvolutionClip", "evolutionclip@live.de")] def setup(self): @@ -26,7 +26,7 @@ class SimplyPremiumCom(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") % "Simply-Premium.com") |