summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-01-05 16:23:41 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-01-05 16:23:41 +0100
commita0a4359df6c625307c6f1e1082cb2ed868765d9f (patch)
tree330c37925398b834b9236da410d52bbdc3714759
parent0903d9879a157ebd149bd2ebab295f2f2b5e1b29 (diff)
downloadqutebrowser-a0a4359df6c625307c6f1e1082cb2ed868765d9f.tar.gz
qutebrowser-a0a4359df6c625307c6f1e1082cb2ed868765d9f.zip
Adjust argument name
-rw-r--r--qutebrowser/mainwindow/tabwidget.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py
index 4ac5e0379..0e95b7745 100644
--- a/qutebrowser/mainwindow/tabwidget.py
+++ b/qutebrowser/mainwindow/tabwidget.py
@@ -136,11 +136,11 @@ class TabWidget(QTabWidget):
(fmt is None or ('{' + field + '}') not in fmt)):
return
- def right_align(text):
- return str(text).rjust(len(str(self.count())))
+ def right_align(num):
+ return str(num).rjust(len(str(self.count())))
- def left_align(text):
- return str(text).ljust(len(str(self.count())))
+ def left_align(num):
+ return str(num).ljust(len(str(self.count())))
bar = self.tabBar()
cur_idx = bar.currentIndex()