diff --git a/src/server/BreCal/impl/shipcalls.py b/src/server/BreCal/impl/shipcalls.py index 9eeca1b..59f9311 100644 --- a/src/server/BreCal/impl/shipcalls.py +++ b/src/server/BreCal/impl/shipcalls.py @@ -96,6 +96,7 @@ def PostShipcalls(schemaModel): query += ") VALUES (" isNotFirst = False for key in schemaModel.keys(): + param_key = key if key == "id": continue if key == "participants": @@ -119,7 +120,7 @@ def PostShipcalls(schemaModel): if isNotFirst: query += "," isNotFirst = True - query += "?" + key + "?" + query += "?" + param_key + "?" query += ")" commands.execute(query, schemaModel)