Skip to content
Snippets Groups Projects
Commit d301d57f authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

loop: have upload reschedule itself

parent 768c00bb
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,11 @@
cmd = [base_dir / "bin" / "upload", j.name]
subprocess.check_call(cmd)
# tiny race window here
actions = _get_all_actions(base_dir)
actions.append('UPLOAD')
_write_all_actions(base_dir, actions)
def loop(base_dir="."):
base_dir = Path(base_dir).resolve()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment