mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-14 11:45:09 +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
|
||||
# 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]
|
||||
|
||||
Reference in New Issue
Block a user