From 98b7f8671dc911cc42fe5cc9f2745f443e83b1dd Mon Sep 17 00:00:00 2001 From: Florian Thomas Date: Tue, 25 Oct 2022 16:59:38 +0200 Subject: [PATCH] Fix missing variable initialization --- hercules/simulation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hercules/simulation.py b/hercules/simulation.py index e62d226..ca21352 100644 --- a/hercules/simulation.py +++ b/hercules/simulation.py @@ -524,7 +524,8 @@ def _gen_locust_script(self, output_dir): str(self._p8_compute_dir/'setup.sh')) kasper_env = _char_concatenate(' ', 'source', str(self._p8_locust_dir/'bin'/'kasperenv.sh')) - + + sim_command = '' if self._use_locust: sim_command = ('exec LocustSim config=' + str(OUTPUT_DIR_CONTAINER/LOCUST_CONFIG_NAME))