Commit 4b0bf4791948d72063639460bc2a2dee63e1451e

Authored by Renan
1 parent e236e649
Exists in master

ENH: changed while condition syntax

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/task_navigator.py
... ... @@ -1379,7 +1379,7 @@ class MarkersPanel(wx.Panel):
1379 1379  
1380 1380 next = self.lc.GetFirstSelected()
1381 1381  
1382   - while next is not -1:
  1382 + while next != -1:
1383 1383 selection.append(next)
1384 1384 next = self.lc.GetNextSelected(next)
1385 1385  
... ...