Skip to content

Commit

Permalink
Remove the behaviour of exclude recording empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
FraidOfWater authored Nov 11, 2024
1 parent a999d8a commit 176a29c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 176a29c

Please sign in to comment.