Skip to content

Commit

Permalink
Fix compile error on lower Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Motschen committed Dec 10, 2024
1 parent e92e8e9 commit 2249787
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Better-Leaves-Lite-1.0.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion gen_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def scanModsForTextures():
assetpath = root.split("assets")[1][1:]
modid = assetpath.split("textures")[0].replace("/", "")
if "textures/block" in root and infile.endswith(".png") and "leaves" in infile:
print(f"Found texture {assetpath+"/"+infile} in mod {modid}")
print(f"Found texture {assetpath}/{infile} in mod {modid}")
inputfolder = os.path.join("./input/assets/", assetpath)
os.makedirs(inputfolder, exist_ok=True)
shutil.copyfile(os.path.join(root, infile), os.path.join(inputfolder, infile))
Expand Down

0 comments on commit 2249787

Please sign in to comment.