From fd76ee72dfd6a951946a772982ad61c383ed69df Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 28 Feb 2022 09:53:43 +0100 Subject: [PATCH] Remove trailing newline We definatly break stuff with this, so it must be removed. --- src/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.py b/src/main.py index 0a89f40..2ffbb49 100755 --- a/src/main.py +++ b/src/main.py @@ -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()