Commit 937cd1ee by Gregory Nagy

is is not ==

parent 80243e9a
......@@ -44,7 +44,7 @@ class GraphiteHandler:
self.__server_port)
for query in self.__queries:
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
else:
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