fixed some path bug in InventorySticker

This commit is contained in:
Mario Voigt 2021-02-25 17:01:22 +01:00
parent 968f21ae2c
commit 9121ab388d
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ class InventorySticker(inkex.Effect):
if not zone:
zoneDir = os.path.join(inventoryCSVParent, "Keinem Bereich zugeordnet")
else:
zoneDir = os.path.join(inventoryCSVParent, zone)
zoneDir = os.path.join(inventoryCSVParent, get_valid_filename(zone)) #remove invalid charaters from zone
if not os.path.exists(zoneDir):
os.mkdir(zoneDir)
else: