Skip to content

Commit 5eebf82

Browse files
committed
Merge branch 'master' of https://github.com/jamesremuscat/EDDN into jamesremuscat/master
2 parents cacd56b + be184cc commit 5eebf82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schemas/shipyard-v1.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"items" : {
5353
"type" : "string",
5454
"minLength" : 1,
55-
"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"
55+
"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"
5656
}
5757
}
5858
}

src/eddn/Gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def parse_and_error_handle(data):
150150

151151
# Sends the parsed MarketOrderList or MarketHistoryList to the Announcers
152152
# as compressed JSON.
153-
gevent.spawn(push_message, simplejson.dumps(parsed_message), parsed_message['$schemaRef'])
153+
gevent.spawn(push_message, simplejson.dumps(parsed_message, ensure_ascii=False).encode('utf-8'), parsed_message['$schemaRef'])
154154
logger.info("Accepted %s upload from %s" % (
155155
parsed_message, get_remote_address()
156156
))

0 commit comments

Comments
 (0)