mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix faulty logic in conditional
This commit is contained in:
parent
230cc794d0
commit
c7defa37da
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class autoProcessComics:
|
|||
return [1, "%s: Failed to post-process - Unable to connect to %s" % (section, section) ]
|
||||
for line in r.iter_lines():
|
||||
if line: logger.postprocess("%s" % (line), section)
|
||||
if ("Post Processing SUCCESSFUL!" or "Post Processing SUCCESSFULL!")in line: success = True
|
||||
if "Post Processing SUCCESSFUL" in line: success = True
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue