diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-06 19:08:06 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-06 19:08:06 +0200 |
commit | 01e76034bcad5e5aab7f6e141782071e5c328649 (patch) | |
tree | 47997c9eb7dd7628429313936a62a19a000af964 /module/plugins/accounts | |
parent | Remove two dead plugins (diff) | |
download | pyload-01e76034bcad5e5aab7f6e141782071e5c328649.tar.xz |
Fix account checkLogin + related code cosmetics
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/Ftp.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/Http.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/MovReelCom.py | 4 | ||||
-rw-r--r-- | module/plugins/accounts/StahnuTo.py | 1 | ||||
-rw-r--r-- | module/plugins/accounts/TurbobitNet.py | 1 |
5 files changed, 4 insertions, 6 deletions
diff --git a/module/plugins/accounts/Ftp.py b/module/plugins/accounts/Ftp.py index b454cba7a..18e25c716 100644 --- a/module/plugins/accounts/Ftp.py +++ b/module/plugins/accounts/Ftp.py @@ -11,4 +11,4 @@ class Ftp(Account): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - login_timeout = info_threshold = 1000000 + login_timeout = info_threshold = -1 #: Unlimited diff --git a/module/plugins/accounts/Http.py b/module/plugins/accounts/Http.py index e2f236e41..932b0aa64 100644 --- a/module/plugins/accounts/Http.py +++ b/module/plugins/accounts/Http.py @@ -11,4 +11,4 @@ class Http(Account): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - login_timeout = info_threshold = 1000000 + login_timeout = info_threshold = -1 #: Unlimited diff --git a/module/plugins/accounts/MovReelCom.py b/module/plugins/accounts/MovReelCom.py index 2225261f0..3bcb3313d 100644 --- a/module/plugins/accounts/MovReelCom.py +++ b/module/plugins/accounts/MovReelCom.py @@ -11,8 +11,8 @@ class MovReelCom(XFSPAccount): __author_name__ = "t4skforce" __author_mail__ = "t4skforce1337[AT]gmail[DOT]com" - login_timeout = 60 #: after that time [in minutes] pyload will relogin the account - info_threshold = 30 #: account data will be reloaded after this time + login_timeout = 60 + info_threshold = 30 MAIN_PAGE = "http://movreel.com/" diff --git a/module/plugins/accounts/StahnuTo.py b/module/plugins/accounts/StahnuTo.py index 529e2131f..a2742bae7 100644 --- a/module/plugins/accounts/StahnuTo.py +++ b/module/plugins/accounts/StahnuTo.py @@ -31,7 +31,6 @@ class StahnuTo(Account): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - #login_timeout = 60 def loadAccountInfo(self, user, req): html = req.load("http://www.stahnu.to/") diff --git a/module/plugins/accounts/TurbobitNet.py b/module/plugins/accounts/TurbobitNet.py index 19ffaf1e5..03e17430b 100644 --- a/module/plugins/accounts/TurbobitNet.py +++ b/module/plugins/accounts/TurbobitNet.py @@ -31,7 +31,6 @@ class TurbobitNet(Account): __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" - #login_timeout = 60 def loadAccountInfo(self, user, req): html = req.load("http://turbobit.net") |