This commit is contained in:
iamBadgers committed 2026-03-28 00:39:44 -07:00
1 parent 97fb4546f9
commit 6a04981443
2 files changed
+3 -6

No files matched your search

+1 -4
View File
@@ -33,10 +33,7 @@ class GameTable:
"active": self._active,
}
def commit(self, app, cursor):
app.logger.info(self._created)
app.logger.info(self._updated)
app.logger.info(self._docker_id)
def commit(self, cursor):
if not self._created:
cursor.execute(
"""INSERT INTO game_tables
+2 -2
View File
@@ -88,7 +88,7 @@ def activate_table(table_id):
)
app.logger.info(table.docker_id)
keys[0].commit(cursor)
table.commit(app, cursor)
table.commit(cursor)
cursor.close()
db.commit()
return jsonify(table.toJson())
@@ -110,7 +110,7 @@ def deactivate_table(table_id):
key.release()
key.commit(cursor)
table.commit(app, cursor)
table.commit(cursor)
app.logger.info(table.docker_id)
container_managment.stop_container(table.docker_id)