diff --git a/check_http_json.py b/check_http_json.py index 4781abd..5256639 100755 --- a/check_http_json.py +++ b/check_http_json.py @@ -152,7 +152,7 @@ class JsonHelper: (Element.Key.NestedKey). Returns (None, 'not_found') if not found """ - if temp_data: + if temp_data != '': data = temp_data else: data = self.data