Remove trailing newline

We definatly break stuff with this, so it must be removed.
This commit is contained in:
Micke Nordin 2022-02-28 09:53:43 +01:00
parent fa3d747cba
commit fd76ee72df
Signed by untrusted user who does not match committer: micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -292,7 +292,6 @@ class PassUi(wx.Frame):
password: str = str()
for line_no in range(text.GetNumberOfLines()):
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.back_button_clicked()