summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index d9ac45a0..480bf814 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1099,8 +1099,8 @@ class Core:
for state in states:
for tab in tab_refs[state]:
- if (tab.nb < self.tabs.current_index and
- tab_refs[state][-1].nb > self.tabs.current_index):
+ if (tab.nb < self.tabs.current_index
+ and tab_refs[state][-1].nb > self.tabs.current_index):
continue
self.command.win(str(tab.nb))
return