From 962b4e9685d06c32cd15efd21ed0309dcdc2745e Mon Sep 17 00:00:00 2001
From: Steffen Hauf <steffen.hauf@xfel.eu>
Date: Thu, 27 Jun 2019 11:46:07 +0200
Subject: [PATCH] Update calibrate.py

---
 xfel_calibrate/calibrate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfel_calibrate/calibrate.py b/xfel_calibrate/calibrate.py
index c8063418f..9f594817e 100755
--- a/xfel_calibrate/calibrate.py
+++ b/xfel_calibrate/calibrate.py
@@ -443,7 +443,7 @@ def concurrent_run(temp_path, nb, nbname, args, cparm=None, cval=None,
         else:
             this_res = reservation if priority == 1 else reservation_char
             srun_base = launcher_command.format(
-                temp_path=temp_path) + " --reservation={}".format(reservation)
+                temp_path=temp_path) + " --reservation={}".format(this_res)
             srun_base = srun_base.split()
             print(" ".join(srun_base))
     else:
-- 
GitLab