Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jamesremuscat/EDDN into j…
Browse files Browse the repository at this point in the history
…amesremuscat/master
  • Loading branch information
AnthorNet committed Dec 5, 2015
2 parents cacd56b + be184cc commit 5eebf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/shipyard-v1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"items" : {
"type" : "string",
"minLength" : 1,
"description" : "Ship name in English as displayed in-game. i.e. one of: Adder, Anaconda, Asp, Cobra Mk III, DiamondBack Scout, Diamondback Explorer, Eagle, Federal Assault Ship, Federal Dropship, Federal Gunship, Fer-de-Lance, Hauler, Imperial Clipper, Imperial Courier, Imperial Eagle, Orca, Python, Sidewinder, Type-6 Transporter, Type-7 Transporter, Type-9 Heavy, Viper, Vulture"
"description" : "Ship name in English as displayed in-game. i.e. one of: Adder, Anaconda, Asp, Asp Scout, Cobra Mk III, Cobra MkIV, DiamondBack Scout, Diamondback Explorer, Eagle, Federal Assault Ship, Federal Corvette, Federal Dropship, Federal Gunship, Fer-de-Lance, Hauler, Imperial Clipper, Imperial Courier, Imperial Cutter, Imperial Eagle, Keelback, Orca, Python, Sidewinder, Type-6 Transporter, Type-7 Transporter, Type-9 Heavy, Viper, Viper MkIV, Vulture"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/eddn/Gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,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, ensure_ascii=False).encode('utf-8'), parsed_message['$schemaRef'])
logger.info("Accepted %s upload from %s" % (
parsed_message, get_remote_address()
))
Expand Down

0 comments on commit 5eebf82

Please sign in to comment.