From 82f251f061ed27c99a7b88dddf9c7fd46c63592c Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Tue, 21 Oct 2014 19:23:48 -0400 Subject: [PATCH] Fix invalid python in StatusReporter --- .../airtime_analyzer/airtime_analyzer/status_reporter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_apps/airtime_analyzer/airtime_analyzer/status_reporter.py b/python_apps/airtime_analyzer/airtime_analyzer/status_reporter.py index 7dcfa5d44..ade3c5bdb 100644 --- a/python_apps/airtime_analyzer/airtime_analyzer/status_reporter.py +++ b/python_apps/airtime_analyzer/airtime_analyzer/status_reporter.py @@ -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():