removed wrong curly braces
This commit is contained in:
parent
7813203790
commit
47da3ff475
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user