diff --git a/lib/update_database.py b/lib/update_database.py index e0cd8ba..2cae387 100644 --- a/lib/update_database.py +++ b/lib/update_database.py @@ -82,6 +82,7 @@ def get_sivas_dbase(sivas_id, out_dir): sys.exit(0) def get_sivas_teilestamm(sivas_ids, out_dir): + """call the sivas exe for getting all csv files with the item data for the given sivas ids""" sivas_teilestamm_exe = os.environ.get('SIVAS_TEILESTAMM') @@ -98,7 +99,7 @@ def get_sivas_teilestamm(sivas_ids, out_dir): if not id.isnumeric(): print(f"Partnumber '{id}' contains invalid characters. Please check given partnumber. Multiple partnumbers have to be specified as comma separated values without space, e.g. 200000089,200000090") - + if os.path.isfile(sivas_teilestamm_exe): if os.path.isdir(out_dir):