mirror of
https://github.com/elem74/fabaccess-config-generator.git
synced 2025-03-12 06:41:45 +01:00
Merge pull request #15 from vmario89/patch-1
Ease up file location of maschinenliste.csv
This commit is contained in:
commit
8955ac9eee
@ -11,7 +11,7 @@ from generator.helpers import *
|
|||||||
|
|
||||||
app_path = os.path.dirname(os.path.realpath(__file__))
|
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
|
# CLI Parameter
|
||||||
if len(sys.argv) > 0:
|
if len(sys.argv) > 0:
|
||||||
@ -63,4 +63,4 @@ create_mermaid(machines)
|
|||||||
time_end = time.perf_counter()
|
time_end = time.perf_counter()
|
||||||
time_span = round(time_end - time_start, 2)
|
time_span = round(time_end - time_start, 2)
|
||||||
print('---------')
|
print('---------')
|
||||||
print(f'Laufzeit: {time_span} Sekunden')
|
print(f'Laufzeit: {time_span} Sekunden')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user