Remove redundant check

main
Bob Mottram 2021-06-18 12:54:49 +01:00
parent cdd0f91dfb
commit 7c6e2c6961
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def getJson(session, url: str, headers: {}, params: {}, debug: bool,
print('WARN: getJson Forbidden url: ' + url)
elif result.status_code == 404:
print('WARN: getJson Not Found url: ' + url)
elif result.status_code != 200:
else:
print('WARN: getJson url: ' + url +
' failed with error code ' +
str(result.status_code))