From b51184dbdf09c043c37e5722ec7e82d9b74d9018 Mon Sep 17 00:00:00 2001
From: Karim Ahmed <karim.ahmed@xfel.eu>
Date: Wed, 28 Aug 2019 08:45:55 +0200
Subject: [PATCH] curly brackets

---
 reportservice/report_service.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reportservice/report_service.py b/reportservice/report_service.py
index cff949f9d..f1177cc35 100644
--- a/reportservice/report_service.py
+++ b/reportservice/report_service.py
@@ -278,7 +278,7 @@ async def server_runner(conf_file):
 
                     for f in figures:
                         const = f.split('/')[-1].split('_')[0]
-                        fpath = '{}/{}/{}'.format(path, instr_name,
+                        fpath = '{}/{}/{}/{}'.format(path, instr_name,
                                                   det_name, const)
 
                         os.makedirs(fpath, exist_ok=True)
-- 
GitLab