Fixed order placing

master^2
Davide Bongiovanni 6 years ago
parent 3500e29157
commit 2e4a3e9e07

@ -60,7 +60,11 @@ candy_stat = []
previous_weight = 0 previous_weight = 0
def new_order(params): def new_order(params):
global candy_stat
print ('Got order ')
print(params)
candy_stat = params candy_stat = params
return True
def async_server_megahack(server): def async_server_megahack(server):
server.serve_forever() server.serve_forever()

Loading…
Cancel
Save