diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-07 19:37:24 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-07 19:37:24 +0100 |
commit | 996f62c4e43818bf3b574d86ad19f994d727f60c (patch) | |
tree | c2f3cc901c467293128f0539a646df2cd3fea34a /api/game/random.py | |
parent | 0fe7edb60f31843a249a728cd3ecf7b35ae747c1 (diff) |
multiple simultaneous games :tada:
Diffstat (limited to 'api/game/random.py')
-rw-r--r-- | api/game/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/game/random.py b/api/game/random.py index 38b9ba6..283190a 100644 --- a/api/game/random.py +++ b/api/game/random.py @@ -19,7 +19,7 @@ def index(): print("a temporary user should be set up here") if not user_id and token: - user_id = token_login(token)[0] + user_id = token_login(token) public_games = cursor.execute("select game_id from games where private = FALSE and status = \"wait_for_opponent\"").fetchall() |