From 867c7b08ed7d93224b5a3f057f31ac5970c27ff5 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Fri, 29 Jan 2021 14:54:03 +0100 Subject: [PATCH] fix wrong datetime variable name --- km3buu/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km3buu/output.py b/km3buu/output.py index 602e55e..3be6a7e 100644 --- a/km3buu/output.py +++ b/km3buu/output.py @@ -434,7 +434,7 @@ def write_detector_file(gibuu_output, timestamp = datetime.now() header_dct["simul"] = "KM3BUU %s %s".format(version, - now.strftime("%Y%m%d %H%M%S")) + timestamp.strftime("%Y%m%d %H%M%S")) header_dct["can"] = "{:.1f} {:.1f} {:.1f}".format(*can) header_dct["tgen"] = "{:.1f}".format(livetime) header_dct["flux"] = "{:d} 0 0".format(nu_type) -- GitLab