diff options
author | estaban <babedoudi@yahoo.fr> | 2014-08-30 00:51:56 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-08-30 00:51:56 +0200 |
commit | b35b8138864bc30a4ebed1a2af199ee8de39671e (patch) | |
tree | 15fca65d6747e552ffce1fbd92569ba62762d76a /module/plugins | |
parent | UpdateManager] Fix I/O conflict on activation + fix removePlugins + some code... (diff) | |
download | pyload-b35b8138864bc30a4ebed1a2af199ee8de39671e.tar.xz |
Fix wait for UptoBox
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py index 32d0272bc..25492fb49 100644 --- a/module/plugins/hoster/XFileSharingPro.py +++ b/module/plugins/hoster/XFileSharingPro.py @@ -21,7 +21,7 @@ class XFileSharingPro(SimpleHoster): """ __name__ = "XFileSharingPro" __type__ = "hoster" - __version__ = "0.31" + __version__ = "0.32" __pattern__ = r'^unmatchable$' @@ -204,7 +204,7 @@ class XFileSharingPro(SimpleHoster): if 'wait' in self.errmsg: wait_time = sum([int(v) * {"hour": 3600, "minute": 60, "second": 1}[u] for v, u in - re.findall(r'(\d+)\s*(hour|minute|second)?', self.errmsg)]) + re.findall(r'(\d+)\s*(hour|minute|second)', self.errmsg)]) self.wait(wait_time, True) elif 'captcha' in self.errmsg: self.invalidCaptcha() |