Fix invalid python in StatusReporter
This commit is contained in:
parent
28be5c6bd3
commit
82f251f061
1 changed files with 3 additions and 3 deletions
|
@ -134,11 +134,11 @@ def is_web_server_broken(url):
|
|||
test_req = requests.get(url)
|
||||
test_req.raise_for_status()
|
||||
except Exception as e:
|
||||
return true
|
||||
return True
|
||||
else:
|
||||
# The request worked fine, so the web server and Airtime are still up.
|
||||
return false
|
||||
return false
|
||||
return False
|
||||
return False
|
||||
|
||||
|
||||
def alert_hung_request():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue