diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 00:05:58 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 00:05:58 +0200 |
commit | dad722ac7255640e7e0541c4094a4d2e4de79cd3 (patch) | |
tree | 893a08e83fb9b465cd0ecf0b0315a5e820b06b06 /module/plugins/hoster/RPNetBiz.py | |
parent | [Hoster] Fix the http request issue (diff) | |
download | pyload-dad722ac7255640e7e0541c4094a4d2e4de79cd3.tar.xz |
Code cosmetics (2)
Diffstat (limited to 'module/plugins/hoster/RPNetBiz.py')
-rw-r--r-- | module/plugins/hoster/RPNetBiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RPNetBiz.py b/module/plugins/hoster/RPNetBiz.py index a449ed276..b6e54a560 100644 --- a/module/plugins/hoster/RPNetBiz.py +++ b/module/plugins/hoster/RPNetBiz.py @@ -35,14 +35,14 @@ class RPNetBiz(MultiHoster): "links" : pyfile.url}) self.log_debug("JSON data: %s" % res) - link_status = json_loads(res)['links'][0] #: get the first link... since we only queried one + link_status = json_loads(res)['links'][0] #: Get the first link... since we only queried one #: Check if we only have an id as a HDD link if 'id' in link_status: self.log_debug("Need to wait at least 30 seconds before requery") - self.wait(30) #: wait for 30 seconds + self.wait(30) #: Wait for 30 seconds #: Lets query the server again asking for the status on the link, - #: we need to keep doing this until we reach 100 + #: We need to keep doing this until we reach 100 max_tries = 30 my_try = 0 while (my_try <= max_tries): |