diff options
| author | 2015-06-21 08:50:26 +0200 | |
|---|---|---|
| committer | 2015-06-24 22:43:08 +0200 | |
| commit | e4fb45b22d36595839e8f638a3f0a4669dba3e8d (patch) | |
| tree | 549ba2a4f6e23a7178b8f91c79e0c037b36412ca /module/plugins/hoster/OverLoadMe.py | |
| parent | Spare code cosmetics (3) (diff) | |
| download | pyload-e4fb45b22d36595839e8f638a3f0a4669dba3e8d.tar.xz | |
Spare code cosmetics (4)
Diffstat (limited to 'module/plugins/hoster/OverLoadMe.py')
| -rw-r--r-- | module/plugins/hoster/OverLoadMe.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/OverLoadMe.py b/module/plugins/hoster/OverLoadMe.py index 8ba310b52..944d4c664 100644 --- a/module/plugins/hoster/OverLoadMe.py +++ b/module/plugins/hoster/OverLoadMe.py @@ -14,7 +14,8 @@ class OverLoadMe(MultiHoster):      __version__ = "0.12"      __pattern__ = r'https?://.*overload\.me/.+' -    __config__  = [("use_premium", "bool", "Use premium account if available", True)] +    __config__  = [("use_premium" , "bool", "Use premium account if available"    , True), +                   ("revertfailed", "bool", "Revert to standard download if fails", True)]      __description__ = """Over-Load.me multi-hoster plugin"""      __license__     = "GPLv3" @@ -26,9 +27,8 @@ class OverLoadMe(MultiHoster):      def handlePremium(self, pyfile): -        https = "https" if self.getConfig('ssl') else "http"          data  = self.account.getAccountData(self.user) -        page  = self.load(https + "://api.over-load.me/getdownload.php", +        page  = self.load("https://api.over-load.me/getdownload.php",                            get={'auth': data['password'],                                 'link': pyfile.url}) | 
