print included/excluded ids
This commit is contained in:
parent
d98f09f4f1
commit
a0d2ed0256
1 changed files with 6 additions and 2 deletions
|
@ -191,10 +191,14 @@ def finalize_job(job_id, event):
|
|||
event_print(event, "finalized intro to " + copy_clip)
|
||||
|
||||
|
||||
|
||||
|
||||
active_jobs = []
|
||||
|
||||
if args.ids:
|
||||
print("only including ids: ", args.ids)
|
||||
|
||||
if args.exclude_ids:
|
||||
print("excluding ids: ", args.exclude_ids)
|
||||
|
||||
filtered_events = events
|
||||
filtered_events = filter(lambda event: not args.ids or event['id'] in args.ids, filtered_events)
|
||||
filtered_events = filter(lambda event: not args.exclude_ids or event['id'] not in args.exclude_ids, filtered_events)
|
||||
|
|
Loading…
Add table
Reference in a new issue