Skip to content

Commit 592bc41

Browse files
committed
fix: 修复混淆代码打包错误的问题
1 parent 8cf6f15 commit 592bc41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bgesdk/management/commands/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ def _zip_codedir(self, home, ziph):
729729
ziph.write(filepath, zip_relpath)
730730
output('\t{}'.format(zip_relpath))
731731
for zip_relpath in sorted(minify_relpaths):
732+
filepath = total_files[zip_relpath]
732733
with open(filepath, 'r') as fp:
733734
content = fp.read()
734735
with tempfile.NamedTemporaryFile(mode='w') as temp_fp:

0 commit comments

Comments
 (0)