Remove trailing newline

We definatly break stuff with this, so it must be removed.
main
Micke Nordin 3 years ago
parent fa3d747cba
commit fd76ee72df
Signed by: micke
GPG Key ID: 0DA0A7A5708FE257

@ -292,7 +292,6 @@ class PassUi(wx.Frame):
password: str = str() password: str = str()
for line_no in range(text.GetNumberOfLines()): for line_no in range(text.GetNumberOfLines()):
password += text.GetLineText(line_no) password += text.GetLineText(line_no)
password += '\n' # FIXME: Is this right? Maybe we break stuff with the trailing newline?
self.pass_handler.save_to_pass(password, path, full_path) self.pass_handler.save_to_pass(password, path, full_path)
self.back_button_clicked() self.back_button_clicked()

Loading…
Cancel
Save