Skip to content
Snippets Groups Projects
Commit a1119a84 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

Use leading zeros in usr/Reports folders

parent f13b7b5d
No related branches found
No related tags found
1 merge request!884[Webservice] Use leading zeros in usr/Reports folders
...@@ -1110,7 +1110,10 @@ class ActionsServer: ...@@ -1110,7 +1110,10 @@ class ActionsServer:
req_id = cur.lastrowid req_id = cur.lastrowid
reports_dir = Path(self.config['correct']['reports-folder'].format( 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 = {} mddirs_by_krb_id = {}
......
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