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 = requests.get(url)
|
||||||
test_req.raise_for_status()
|
test_req.raise_for_status()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return true
|
return True
|
||||||
else:
|
else:
|
||||||
# The request worked fine, so the web server and Airtime are still up.
|
# 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():
|
def alert_hung_request():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue