1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-08 01:24:56 +08:00

fix bug and add subfolders

This commit is contained in:
Escartem
2024-11-07 11:55:26 +01:00
parent 0d6ce44849
commit b6879def0f
3 changed files with 10 additions and 5 deletions

View File

@@ -25,10 +25,9 @@ class WwiseExtract:
self.steps = 1
self.mapper = None
if _map is not None:
self.mapper = Mapper(path(cwd, f"maps/{_map}"))
self.mapper = Mapper(path(cwd, f"maps/{_map}")) # TODO: load maps once
self.file_structure = {"folders": {}, "files": []}
# files = [f for f in os.listdir(folder_path) if f.endswith(".pck")]
hdiff_files = []
if diff_path != "":
hdiff_files = [f for f in os.listdir(diff_path) if f.endswith(".pck.hdiff")]