Skip to content

Commit

Permalink
Fix champ name and prevent comp_editor changing line terminators
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony5301 authored Nov 26, 2023
1 parent e19538e commit 31b32a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions comp_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,7 @@ def save_changes(self):
.replace(" ", " ")
.replace("\n ", "")
.replace("\n ]", "]")
.replace("\r ", "")
.replace("\r ]", "]")
.replace("[ ", "[")
.replace("\r\n",'\n')
+ file_content[comp_line_end:]
)

Expand Down

0 comments on commit 31b32a0

Please sign in to comment.