Skip to content

Commit

Permalink
fix: not path
Browse files Browse the repository at this point in the history
  • Loading branch information
phillychi3 committed Sep 6, 2024
1 parent 39a93d0 commit fa7dc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t3dlitematica/texturepackexport/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def load_model(path:str) -> None:

self.blocksdata[i.split(".")[0]] = blockstates

with open(self.output / "output.json", "w", encoding="utf8") as f:
with open(os.path.join(self.output, "output.json"), "w", encoding="utf8") as f:
json.dump(self.blocksdata, f, indent=4, ensure_ascii=False)

if os.path.exists(os.path.join(self.output,"textures")):
Expand Down

0 comments on commit fa7dc64

Please sign in to comment.