diff --git a/runsnakerun/listviews.py b/runsnakerun/listviews.py index 0723a53..12a9948 100644 --- a/runsnakerun/listviews.py +++ b/runsnakerun/listviews.py @@ -120,7 +120,7 @@ def CreateColumns(self): """Create/recreate our column definitions from current self.columns""" self.SetItemCount(0) # clear any current columns... - for i in range(self.GetColumnCount())[::-1]: + for i in range(self.GetColumnCount()-1, -1, -1): self.DeleteColumn(i) # now create for i, column in enumerate(self.columns):