move stuff into tables.py.

This commit is contained in:
iamBadgers
2026-04-09 20:19:23 -07:00
parent 69241d1c43
commit e475dbc36b
4 changed files with 115 additions and 117 deletions

View File

@@ -133,10 +133,10 @@ class GameService:
(game_table_id,),
).fetchone()
if len(rows) == 0:
return None
if len(rows) == 0:
return None
return GameTable(rows[0], rows[1], rows[2], rows[3], rows[4], True, True)
return GameTable(rows[0], rows[1], rows[2], rows[3], rows[4], True, True)
def read_all(self, cursor=None):
with SmartCursor(cursor, self.connection) as smartCursor: