get_sivas_dbase mit docstring versehen

This commit is contained in:
2024-02-14 16:06:12 +01:00
parent a0be038bbf
commit 5f781c513b
+2 -1
View File
@@ -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):