Refresh batch status after creating via filemon action
This commit is contained in:
parent
3b3a8bd832
commit
d9fe3fe491
|
@ -71,6 +71,7 @@ class MakeBatch(Action):
|
||||||
batch = handler.make_batch(session, **kwargs)
|
batch = handler.make_batch(session, **kwargs)
|
||||||
handler.set_input_file(batch, path)
|
handler.set_input_file(batch, path)
|
||||||
handler.populate(batch)
|
handler.populate(batch)
|
||||||
|
handler.refresh_batch_status(batch)
|
||||||
|
|
||||||
if parse_bool(delete_if_empty):
|
if parse_bool(delete_if_empty):
|
||||||
session.flush()
|
session.flush()
|
||||||
|
|
Loading…
Reference in a new issue