fixed some path bug in InventorySticker
This commit is contained in:
parent
968f21ae2c
commit
9121ab388d
@ -455,7 +455,7 @@ class InventorySticker(inkex.Effect):
|
|||||||
if not zone:
|
if not zone:
|
||||||
zoneDir = os.path.join(inventoryCSVParent, "Keinem Bereich zugeordnet")
|
zoneDir = os.path.join(inventoryCSVParent, "Keinem Bereich zugeordnet")
|
||||||
else:
|
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):
|
if not os.path.exists(zoneDir):
|
||||||
os.mkdir(zoneDir)
|
os.mkdir(zoneDir)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user