diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:57:26 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:57:26 +0200 |
commit | 07c2b124e4348b15f1e5ec18c6cdfd77248c6bc8 (patch) | |
tree | e4a29123d3ebedc1d25500390c904c66b3b02489 /api/status.py | |
parent | aa2c999702dadba2afbcf2be9f597f890aafcc87 (diff) |
spaces > tabs in python :(
Diffstat (limited to 'api/status.py')
-rw-r--r-- | api/status.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/api/status.py b/api/status.py index a47c6c4..32f96ee 100644 --- a/api/status.py +++ b/api/status.py @@ -6,15 +6,15 @@ status = Blueprint('server_status', __name__) @status.route('/status') def index(): - return { - # "users": int, - "games": - len( - cursor.execute( - "select game_id from games where status = \"in_progress\"" - ).fetchall() - ) - } + return { + # "users": int, + "games": + len( + cursor.execute( + "select game_id from games where status = \"in_progress\"" + ).fetchall() + ) + } dynamic_route = ["/", status] |