From 9121ab388d5a0d9542a449da6a647788f4f2a4bf Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Thu, 25 Feb 2021 17:01:22 +0100 Subject: [PATCH] fixed some path bug in InventorySticker --- extensions/fablabchemnitz/inventory_sticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/inventory_sticker.py b/extensions/fablabchemnitz/inventory_sticker.py index 3cb9c14d..c3698d13 100644 --- a/extensions/fablabchemnitz/inventory_sticker.py +++ b/extensions/fablabchemnitz/inventory_sticker.py @@ -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: