From 176a29c27fd615a6fa100d98d17712bb1d0bc0e1 Mon Sep 17 00:00:00 2001 From: FraidOfWater <141600613+FraidOfWater@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:35:54 +0200 Subject: [PATCH] Remove the behaviour of exclude recording empty lines --- gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 155bf4f..4e782cb 100644 --- a/gui.py +++ b/gui.py @@ -505,7 +505,8 @@ def excludesave(self, text, toplevelwin): text = text.get('1.0', tk.END).splitlines() exclude = [] for line in text: - exclude.append(line) + if line != "": + exclude.append(line) self.fileManager.exclude = exclude try: toplevelwin.destroy()