diff options
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() |