fix: replace " with ' in formatted string

This commit is contained in:
Martin Prokoph
2025-03-14 15:35:41 +01:00
parent 8a6db35578
commit a557f5d411

View File

@@ -246,7 +246,7 @@ def generateTexture(root, infile, useProgrammerArt=False):
else: textureMap[key] = value
# Turn texture map into absolute paths
for key, value in textureMap.items():
textureRoot = f"./input/assets/{value.split(":")[0]}/textures/"
textureRoot = f"./input/assets/{value.split(':')[0]}/textures/"
textureFile = value.split(":")[1] + ".png"
if "/" in textureFile:
textureRoot += textureFile.rsplit("/")[0]