mirror of https://gitlab.com/bashrc2/epicyon
Remove redundant check
parent
cdd0f91dfb
commit
7c6e2c6961
|
@ -119,7 +119,7 @@ def getJson(session, url: str, headers: {}, params: {}, debug: bool,
|
||||||
print('WARN: getJson Forbidden url: ' + url)
|
print('WARN: getJson Forbidden url: ' + url)
|
||||||
elif result.status_code == 404:
|
elif result.status_code == 404:
|
||||||
print('WARN: getJson Not Found url: ' + url)
|
print('WARN: getJson Not Found url: ' + url)
|
||||||
elif result.status_code != 200:
|
else:
|
||||||
print('WARN: getJson url: ' + url +
|
print('WARN: getJson url: ' + url +
|
||||||
' failed with error code ' +
|
' failed with error code ' +
|
||||||
str(result.status_code))
|
str(result.status_code))
|
||||||
|
|
Loading…
Reference in New Issue