Boolean typo
This commit is contained in:
parent
cd86e91f5b
commit
f83a2063c3
|
@ -23,7 +23,7 @@ def do_heatlhcheck(url):
|
|||
response = requests.get(url, headers=headers, timeout=TIMEOUT)
|
||||
return response.status_code == 200
|
||||
except requests.exceptions.RequestException:
|
||||
return false
|
||||
return False
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue