From cbf68da6305ff9f00ef535ff065a9e5fd940900e Mon Sep 17 00:00:00 2001 From: RumovZ Date: Wed, 6 Jan 2021 20:35:11 +0100 Subject: [PATCH] Format --- qt/aqt/browser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index d17167abe..e067b3f44 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -1226,7 +1226,9 @@ QTableView {{ gridline-color: {grid} }} if cur != self._searchPrompt: mods = self.mw.app.keyboardModifiers() if mods & Qt.ControlModifier and mods & Qt.ShiftModifier: - txt = self.col.backend.replace_search_term(search=cur, replacement=txt) + txt = self.col.backend.replace_search_term( + search=cur, replacement=txt + ) elif mods & Qt.ControlModifier: txt = self.col.backend.concatenate_searches( sep=pb.ConcatenateSearchesIn.Separator.AND, searches=[cur, txt]