diff --git a/src/pricing/collector.py b/src/pricing/collector.py index d3c4705..a55f5a9 100644 --- a/src/pricing/collector.py +++ b/src/pricing/collector.py @@ -88,7 +88,7 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price) status, response = send(query, logger) - if status != '200': + if status != 200: logger.critical("Query wasn't executed properly, view logs. Status = {}".format(status)) logger.error("With Response of : {}".format(response)) else: @@ -110,4 +110,4 @@ def collector(c_type): sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price) - sleep(3600) \ No newline at end of file + sleep(3596) \ No newline at end of file