diff --git a/pylib/anki/stats.py b/pylib/anki/stats.py index a9b1c7a56..9ed0b9170 100644 --- a/pylib/anki/stats.py +++ b/pylib/anki/stats.py @@ -63,7 +63,7 @@ class CardStats: self.txt += self.makeLine(k, v) def makeLine(self, k: str, v: str | int) -> str: - txt = "" + txt = "" txt += f"{k}{v}" return txt @@ -909,12 +909,12 @@ when you answer "good" on a review.""" colon = ":" if bold: i.append( - ("%s%s%s") + ("%s%s%s") % (a, colon, b) ) else: i.append( - ("%s%s%s") + ("%s%s%s") % (a, colon, b) ) diff --git a/qt/aqt/deckbrowser.py b/qt/aqt/deckbrowser.py index 4e580521c..d5f4ffca3 100644 --- a/qt/aqt/deckbrowser.py +++ b/qt/aqt/deckbrowser.py @@ -241,7 +241,7 @@ class DeckBrowser: review = nonzeroColour(node.review_count, "review-count") learn = nonzeroColour(node.learn_count, "learn-count") - buf += ("%s" * 3) % ( + buf += ("%s" * 3) % ( nonzeroColour(node.new_count, "new-count"), learn, review, diff --git a/qt/aqt/reviewer.py b/qt/aqt/reviewer.py index efd8d63b6..5c300ae3f 100644 --- a/qt/aqt/reviewer.py +++ b/qt/aqt/reviewer.py @@ -662,11 +662,11 @@ class Reviewer:
- -
+ +