From 4b0bf4791948d72063639460bc2a2dee63e1451e Mon Sep 17 00:00:00 2001 From: Renan Date: Tue, 26 Oct 2021 12:54:28 +0300 Subject: [PATCH] ENH: changed while condition syntax --- invesalius/gui/task_navigator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/gui/task_navigator.py b/invesalius/gui/task_navigator.py index 2a4db1c..0343bcd 100644 --- a/invesalius/gui/task_navigator.py +++ b/invesalius/gui/task_navigator.py @@ -1379,7 +1379,7 @@ class MarkersPanel(wx.Panel): next = self.lc.GetFirstSelected() - while next is not -1: + while next != -1: selection.append(next) next = self.lc.GetNextSelected(next) -- libgit2 0.21.2