mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
check multiple spellings
This commit is contained in:
parent
9eeff323ac
commit
f35e9cfabb
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class autoProcessComics:
|
||||||
return 1 # failure
|
return 1 # failure
|
||||||
for line in r.iter_lines():
|
for line in r.iter_lines():
|
||||||
if line: logger.postprocess("%s" % (line), section)
|
if line: logger.postprocess("%s" % (line), section)
|
||||||
if "Post Processing SUCCESSFUL!" in line: success = True
|
if ("Post Processing SUCCESSFUL!" or "Post Processing SUCCESSFULL!")in line: success = True
|
||||||
|
|
||||||
if not r.status_code in [requests.codes.ok, requests.codes.created, requests.codes.accepted]:
|
if not r.status_code in [requests.codes.ok, requests.codes.created, requests.codes.accepted]:
|
||||||
logger.error("Server returned status %s" % (str(r.status_code)), section)
|
logger.error("Server returned status %s" % (str(r.status_code)), section)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue