Ease up file location of maschinenliste.csv

This commit is contained in:
Mario Voigt 2025-02-16 20:59:28 +01:00 committed by GitHub
parent f0183bbfbe
commit 6605aa16b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')
print(f'Laufzeit: {time_span} Sekunden')