mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
parent
8188455e13
commit
00ca156564
5 changed files with 28 additions and 9 deletions
|
@ -54,5 +54,8 @@ class autoProcessComics:
|
|||
for line in r.iter_lines():
|
||||
if line: logger.postprocess("%s" % (line), section)
|
||||
|
||||
time.sleep(60) #wait 1 minute for now... need to see just what gets logged and how long it takes to process
|
||||
return 0 # Success
|
||||
if not r.status_code == requests.codes.ok:
|
||||
logger.error("Server returned status %s" % (str(r.status_code)), section)
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue