Skip to content

Commit

Permalink
Fix linebreaks when importing strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chesyon authored Oct 9, 2024
1 parent 5f62c0e commit 26c1962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skytemple/module/strings/widget/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def on_btn_import_clicked(self, *args):
strings = []
for row in csv_reader:
if len(row) > 0:
strings.append(row[0])
strings.append(row[0].replace("\\n", "\n"))
if len(self._str.strings) != len(strings):
raise ValueError(
f(
Expand Down

0 comments on commit 26c1962

Please sign in to comment.