From 6605aa16b9aca79c9d4654e5ae02ff5fdc5e513a Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Sun, 16 Feb 2025 20:59:28 +0100 Subject: [PATCH] Ease up file location of maschinenliste.csv --- config-generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-generator.py b/config-generator.py index f4331cd..f7a0da7 100644 --- a/config-generator.py +++ b/config-generator.py @@ -11,7 +11,7 @@ from generator.helpers import * app_path = os.path.dirname(os.path.realpath(__file__)) -input_file = 'maschinenliste.csv' +input_file = os.path.join(os.path.dirname(__file__), 'maschinenliste.csv') # CLI Parameter if len(sys.argv) > 0: @@ -63,4 +63,4 @@ create_mermaid(machines) time_end = time.perf_counter() time_span = round(time_end - time_start, 2) print('---------') -print(f'Laufzeit: {time_span} Sekunden') \ No newline at end of file +print(f'Laufzeit: {time_span} Sekunden')