Fix wrong argument in gateway

This commit is contained in:
AnthorNet 2015-05-07 19:33:59 +02:00
parent bde962ade1
commit 69f7134a94

View File

@ -142,7 +142,7 @@ def parse_and_error_handle(data):
# Sends the parsed MarketOrderList or MarketHistoryList to the Announcers
# as compressed JSON.
gevent.spawn(push_message, (simplejson.dumps(parsed_message), parsed_message['$schemaRef']))
gevent.spawn(push_message, simplejson.dumps(parsed_message), parsed_message['$schemaRef'])
logger.info("Accepted %s upload from %s" % (
parsed_message, get_remote_address()
))