debug
This commit is contained in:
@@ -52,7 +52,7 @@ def evaluate_blueprints(conn):
|
||||
log.warning(f"[blueprint] Evaluating town_id={town_id}")
|
||||
|
||||
town_row = conn.execute(
|
||||
'SELECT data, player_id, town_name FROM town_state WHERE town_id = ?', (town_id,)
|
||||
'SELECT data, player_id, town_name, world_id FROM town_state WHERE town_id = ?', (town_id,)
|
||||
).fetchone()
|
||||
|
||||
if not town_row:
|
||||
@@ -61,7 +61,8 @@ def evaluate_blueprints(conn):
|
||||
|
||||
player_id = town_row['player_id']
|
||||
town_name_db = town_row['town_name']
|
||||
log.warning(f"[blueprint] Town: {town_name_db}, player_id={player_id}")
|
||||
town_world_id = town_row['world_id']
|
||||
log.warning(f"[blueprint] Town: {town_name_db}, player_id={player_id}, world_id={town_world_id!r}")
|
||||
|
||||
try:
|
||||
town = json.loads(town_row['data'])
|
||||
|
||||
Reference in New Issue
Block a user