aboutsummaryrefslogtreecommitdiff
path: root/api/status.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/status.py')
-rw-r--r--api/status.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/api/status.py b/api/status.py
index 45410a4..a47c6c4 100644
--- a/api/status.py
+++ b/api/status.py
@@ -7,13 +7,13 @@ 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()
- )
+ # "users": int,
+ "games":
+ len(
+ cursor.execute(
+ "select game_id from games where status = \"in_progress\""
+ ).fetchall()
+ )
}