Skip to content

Commit

Permalink
only catch finished setup workset plate
Browse files Browse the repository at this point in the history
  • Loading branch information
Galithil committed Jul 4, 2017
1 parent 444242c commit 154e26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/workset_upload_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main(args):
recent_processes=get_last_modified_processes(session,[8,204,38,714,46], args.interval)
processes_to_update=set()
for p in recent_processes:
if p.typeid==204:
if p.typeid==204 and p.daterun:#will only catch finished setup workset plate
processes_to_update.add(p)
else:
processes_to_update.update(get_processes_in_history(session, p.processid, [204]))
Expand Down

0 comments on commit 154e26e

Please sign in to comment.