diff --git a/webservice/webservice.py b/webservice/webservice.py index 0272e3a135d8347502f456b47d98621e421a53c4..e580d7b63b01e409049e6e1de60f293a2d6598e5 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -1110,7 +1110,10 @@ class ActionsServer: req_id = cur.lastrowid reports_dir = Path(self.config['correct']['reports-folder'].format( - instrument=instrument, cycle=cycle, proposal=proposal, runs=f"r{runnr}" + instrument=instrument, + cycle=cycle, + proposal=proposal, + runs=f"r{runnr:04d}" )) mddirs_by_krb_id = {}