mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 19:03:10 +03:00
Merge branch 'master' of https://github.com/jamesremuscat/EDDN into jamesremuscat/master
This commit is contained in:
commit
5eebf820b0
@ -52,7 +52,7 @@
|
|||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"minLength" : 1,
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ def parse_and_error_handle(data):
|
|||||||
|
|
||||||
# Sends the parsed MarketOrderList or MarketHistoryList to the Announcers
|
# Sends the parsed MarketOrderList or MarketHistoryList to the Announcers
|
||||||
# as compressed JSON.
|
# 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" % (
|
logger.info("Accepted %s upload from %s" % (
|
||||||
parsed_message, get_remote_address()
|
parsed_message, get_remote_address()
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user