diff --git a/backend/static/bot/simple.py b/backend/static/bot/simple.py index 04becaf..4c0e199 100644 --- a/backend/static/bot/simple.py +++ b/backend/static/bot/simple.py @@ -2,7 +2,7 @@ import sys, json, random def move(command): record = { 'moves': [command] } - json.dump(record, sys.stdout) + print(json.dumps(record)) sys.stdout.flush() for line in sys.stdin: