Skip to content

Commit 1c6d61a

Browse files
committed
Fix language file copy
1 parent 006b57d commit 1c6d61a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/info_parser.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,8 @@ def _excluded_languages(self):
135135
return ["**/qqq.lproj"]
136136
else:
137137
# Copy the enforced lang to the custom folder
138-
for lang_file in Path().parent.rglob(f'{enforced}.lproj'):
139-
lang_file.copy
138+
for lang_file in Path().cwd().parent.rglob(f'{enforced}.lproj'):
140139
shutil.copytree(
141-
lang_file, Path().parent/"custom"/self.brand_name, dirs_exist_ok=True)
140+
lang_file, Path().cwd().parent/"custom"/self.brand_name, dirs_exist_ok=True)
142141
# exclude all other languages under Support/*.lproj
143142
return ["**/*.lproj"]

0 commit comments

Comments
 (0)