diff --git a/src/server/BreCal/impl/shipcalls.py b/src/server/BreCal/impl/shipcalls.py index efe03bd..b999902 100644 --- a/src/server/BreCal/impl/shipcalls.py +++ b/src/server/BreCal/impl/shipcalls.py @@ -201,7 +201,7 @@ def PutShipcalls(schemaModel): # test if object to update is found sentinel = object() - + theshipcall = commands.query_single_or_default("SELECT * FROM shipcall where id = ?id?", sentinel, param={"id" : schemaModel["id"]}) if theshipcall is sentinel: pooledConnection.close() @@ -242,7 +242,7 @@ def PutShipcalls(schemaModel): affected_rows = commands.execute(query, param=schemaModel) shipdata = get_ship_data_for_id(schemaModel["ship_id"]) - message = {shipdata['name']} + message = shipdata['name'] if "type_value" in schemaModel: match schemaModel["type_value"]: case 1: