Skip to content

Commit

Permalink
Update BMT.pyw to v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BlafKing committed Jul 14, 2023
1 parent f7a13c6 commit 1d5f4b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BMT.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,11 @@ class MergeToolGUI:
with open(file_path, 'r', encoding='utf-8-sig') as f:
content = f.read()

index = content.find('contentList')
if index != -1:
content = content[:index] + content[index:].replace('\\', '/')
content = content[:index] + content[index:].replace('//', '/')

lines = content.split('\n')
i = 0
while i < len(lines) - 4:
Expand Down

0 comments on commit 1d5f4b8

Please sign in to comment.