Browse Source

server.py indent fixes

Lurkars 6 years ago
parent
commit
a4c111bc5e
  1. 8
      ext/server.py

8
ext/server.py

@ -56,12 +56,12 @@ def create_game():
rows = cur.fetchall()
while rows:
port += 1
game_count += 1
game_count += 1
cur.execute("SELECT * FROM games WHERE port=?", (port,))
rows = cur.fetchall()
if game_count == MAX_GAMES:
abort(401)
if game_count == MAX_GAMES:
abort(401)
# check duplicate name
base_name = name

Loading…
Cancel
Save