From abdc6022180ee64eada335d2616a8f9df55f9852 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Fri, 29 Jan 2021 17:44:46 +0100
Subject: [PATCH] Fix bug by mixed up string format methods

---
 km3buu/output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/km3buu/output.py b/km3buu/output.py
index 3be6a7e..f413b3f 100644
--- a/km3buu/output.py
+++ b/km3buu/output.py
@@ -433,7 +433,7 @@ def write_detector_file(gibuu_output,
     header_dct = EMPTY_KM3NET_HEADER_DICT.copy()
 
     timestamp = datetime.now()
-    header_dct["simul"] = "KM3BUU %s %s".format(version,
+    header_dct["simul"] = "KM3BUU {} {}".format(version,
                                                 timestamp.strftime("%Y%m%d %H%M%S"))
     header_dct["can"] = "{:.1f} {:.1f} {:.1f}".format(*can)
     header_dct["tgen"] = "{:.1f}".format(livetime)
-- 
GitLab