Boolean typo

This commit is contained in:
Luc 2021-12-07 11:51:50 +01:00
parent cd86e91f5b
commit f83a2063c3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def do_heatlhcheck(url):
response = requests.get(url, headers=headers, timeout=TIMEOUT) response = requests.get(url, headers=headers, timeout=TIMEOUT)
return response.status_code == 200 return response.status_code == 200
except requests.exceptions.RequestException: except requests.exceptions.RequestException:
return false return False
if __name__ == '__main__': if __name__ == '__main__':