Add keytable dao
This commit is contained in:
@@ -38,7 +38,7 @@ def get_active_tables():
|
||||
cursor = db.cursor()
|
||||
tables = game_tables.read_active(cursor)
|
||||
cursor.close()
|
||||
|
||||
|
||||
return jsonify([table.toJson() for table in tables])
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ def get_tables():
|
||||
db = get_db()
|
||||
cursor = db.cursor()
|
||||
tables = game_tables.read_all(cursor)
|
||||
cursor.close();
|
||||
cursor.close()
|
||||
|
||||
return jsonify([table.toJson() for table in tables])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user