move stuff into tables.py.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user