mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-14 19:55:08 +01:00
fix: replace " with ' in formatted string
This commit is contained in:
@@ -246,7 +246,7 @@ def generateTexture(root, infile, useProgrammerArt=False):
|
|||||||
else: textureMap[key] = value
|
else: textureMap[key] = value
|
||||||
# Turn texture map into absolute paths
|
# Turn texture map into absolute paths
|
||||||
for key, value in textureMap.items():
|
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"
|
textureFile = value.split(":")[1] + ".png"
|
||||||
if "/" in textureFile:
|
if "/" in textureFile:
|
||||||
textureRoot += textureFile.rsplit("/")[0]
|
textureRoot += textureFile.rsplit("/")[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user