fixed small de-ref bug
This commit is contained in:
parent
f7684902aa
commit
710e21e567
@ -136,7 +136,7 @@ def PostShipcalls(schemaModel):
|
||||
new_id = commands.execute_scalar("select last_insert_id()")
|
||||
|
||||
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:
|
||||
@ -146,6 +146,7 @@ def PostShipcalls(schemaModel):
|
||||
case 3:
|
||||
message += " [SHIFTING]"
|
||||
|
||||
|
||||
# add participant assignments if we have a list of participants
|
||||
if 'participants' in schemaModel:
|
||||
# pquery = SQLQuery.get_shipcall_post_update_shipcall_participant_map()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user