From 08783d273f7e404c3112099241dbadc325897c12 Mon Sep 17 00:00:00 2001 From: munahaf Date: Mon, 18 Sep 2023 10:06:53 +0000 Subject: [PATCH] Remove tautology regarding selected tags filter. --- GTG/gtk/browser/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GTG/gtk/browser/main_window.py b/GTG/gtk/browser/main_window.py index 7446255d1..94c98807d 100644 --- a/GTG/gtk/browser/main_window.py +++ b/GTG/gtk/browser/main_window.py @@ -1418,7 +1418,7 @@ def get_selected_tags(self, nospecial=False): if self.tagtreeview: taglist = self.tagtreeview.get_selected_nodes() # If no selection, we display all - if not nospecial and (not taglist or len(taglist) < 0): + if not nospecial and (not taglist): taglist = ['gtg-tags-all'] if nospecial: special = ['gtg-tags-all', 'gtg-tags-none',