From 2439bc22671dde697817291b721bfddb792a93b4 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 10 Dec 2014 19:07:53 +0100 Subject: Fix plugins key attributes --- pyload/plugins/hoster/SimplyPremiumCom.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/plugins/hoster/SimplyPremiumCom.py') 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") -- cgit v1.2.3