diff options
author | 2015-07-18 20:04:36 +0200 | |
---|---|---|
committer | 2015-07-18 20:04:36 +0200 | |
commit | 9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 (patch) | |
tree | 1a5167cea6492283bfb679c4efdb4c13534d844f /module/plugins/hoster/RPNetBiz.py | |
parent | Reorder some functions (diff) | |
download | pyload-9e5d813d7721e351ac02ba72bdc473a7d77ba6b7.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/hoster/RPNetBiz.py')
-rw-r--r-- | module/plugins/hoster/RPNetBiz.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/RPNetBiz.py b/module/plugins/hoster/RPNetBiz.py index d151ce5e7..a449ed276 100644 --- a/module/plugins/hoster/RPNetBiz.py +++ b/module/plugins/hoster/RPNetBiz.py @@ -40,8 +40,7 @@ class RPNetBiz(MultiHoster): #: 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.set_wait(30) #: wait for 30 seconds - self.wait() + 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 max_tries = 30 @@ -63,8 +62,7 @@ class RPNetBiz(MultiHoster): else: self.log_debug("At %s%% for the file download" % download_status['status']) - self.set_wait(30) - self.wait() + self.wait(30) my_try += 1 if my_try > max_tries: #: We went over the limit! |