filter out cancelled shipcalls before timer error validation
This commit is contained in:
parent
b36e2c9e05
commit
91caf74dca
@ -39,6 +39,8 @@ def UpdateShipcalls(options:dict = {'past_days':2}):
|
||||
query = create_sql_query_shipcall_get(options)
|
||||
data = commands.query(query, model=model.Shipcall)
|
||||
|
||||
data = [s for s in data if not s.canceled] # filter out canceled shipcalls
|
||||
|
||||
# get the shipcall ids, which are of interest
|
||||
shipcall_ids = [dat.id for dat in data]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user