aboutsummaryrefslogtreecommitdiff
path: root/api/status.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
commitdeb09e5c749e3353c927d7fe94bbd35f25ff85ee (patch)
tree702ba982530aa98a96ddece365a32be842dae3c2 /api/status.py
parent28f104de9ae9abe4b42abafbf3865ede5687996c (diff)
dprint yapf continuation align style edit
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()
+ )
}