Commit 937cd1ee by Gregory Nagy

is is not ==

parent 80243e9a
...@@ -44,7 +44,7 @@ class GraphiteHandler: ...@@ -44,7 +44,7 @@ class GraphiteHandler:
self.__server_port) self.__server_port)
for query in self.__queries: for query in self.__queries:
response = requests.get(url_base + query.get_generated()) response = requests.get(url_base + query.get_generated())
if query.get_format() is "json": if query.get_format() == "json":
self.__responses.append(response.json()) # DICT self.__responses.append(response.json()) # DICT
else: else:
self.__responses.append(response) self.__responses.append(response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment