Merge pull request #15 from vmario89/patch-1

Ease up file location of maschinenliste.csv
This commit is contained in:
Wolfram 2025-02-17 20:34:38 +01:00 committed by GitHub
commit 8955ac9eee
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')