Skip to content

Commit 764b653

Browse files
committed
bug fix for loading preset v2.6.4
1 parent ac0f3de commit 764b653

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/load_preset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def change_grp_id(
100100
matching_files = [
101101
filename
102102
for filename in os.listdir(asset_bundle_path)
103-
if filename.startswith(str(art)[4:10]) and filename.endswith(".mtga")
103+
if filename.startswith(str(art.name)[4:10])
104+
and filename.endswith(".mtga")
104105
]
105106
if matching_files:
106107
shutil.copy(

0 commit comments

Comments
 (0)