diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 12:44:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 12:44:15 +0100 |
commit | ce103ce1e60661f7bcdf6a033335134de61d48b1 (patch) | |
tree | 29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/hoster/NoPremiumPl.py | |
parent | .min.css -> .css (diff) | |
download | pyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz |
Prepare to merging
Diffstat (limited to 'pyload/plugin/hoster/NoPremiumPl.py')
-rw-r--r-- | pyload/plugin/hoster/NoPremiumPl.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/NoPremiumPl.py b/pyload/plugin/hoster/NoPremiumPl.py index 0719fe980..ddb9d78f8 100644 --- a/pyload/plugin/hoster/NoPremiumPl.py +++ b/pyload/plugin/hoster/NoPremiumPl.py @@ -5,15 +5,15 @@ from pyload.plugin.internal.MultiHoster import MultiHoster class NoPremiumPl(MultiHoster): - __name = "NoPremiumPl" - __type = "hoster" - __version = "0.02" + __name__ = "NoPremiumPl" + __type__ = "hoster" + __version__ = "0.02" - __pattern = r'https?://direct\.nopremium\.pl.+' + __pattern__ = r'https?://direct\.nopremium\.pl.+' - __description = """NoPremium.pl multi-hoster plugin""" - __license = "GPLv3" - __authors = [("goddie", "dev@nopremium.pl")] + __description__ = """NoPremium.pl multi-hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("goddie", "dev@nopremium.pl")] API_URL = "http://crypt.nopremium.pl" @@ -78,7 +78,7 @@ class NoPremiumPl(MultiHoster): if "errno" in parsed.keys(): if parsed["errno"] in self.ERROR_CODES: # error code in known - self.fail(self.ERROR_CODES[parsed["errno"]] % self.__name) + self.fail(self.ERROR_CODES[parsed["errno"]] % self.__name__) else: # error code isn't yet added to plugin self.fail( |