Refresh batch status after creating via filemon action

This commit is contained in:
Lance Edgar 2017-06-22 13:19:43 -05:00
parent 3b3a8bd832
commit d9fe3fe491

View file

@ -71,6 +71,7 @@ class MakeBatch(Action):
batch = handler.make_batch(session, **kwargs)
handler.set_input_file(batch, path)
handler.populate(batch)
handler.refresh_batch_status(batch)
if parse_bool(delete_if_empty):
session.flush()