summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/SimplyPremiumCom.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/SimplyPremiumCom.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/SimplyPremiumCom.py')
-rw-r--r--pyload/plugin/hoster/SimplyPremiumCom.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/SimplyPremiumCom.py b/pyload/plugin/hoster/SimplyPremiumCom.py
index 364c0bd0e..f2e00cbf1 100644
--- a/pyload/plugin/hoster/SimplyPremiumCom.py
+++ b/pyload/plugin/hoster/SimplyPremiumCom.py
@@ -9,15 +9,15 @@ from pyload.plugin.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")