diff --git a/qt/aqt/deckoptions.py b/qt/aqt/deckoptions.py index 634e587526d..ea834ba2b79 100644 --- a/qt/aqt/deckoptions.py +++ b/qt/aqt/deckoptions.py @@ -108,9 +108,7 @@ def reject(self) -> None: def has_modified_data(self, callback: Callable[[bool], None]): """Calls `callback` with the information of whether any deck options are modified.""" if self.ready: - self.web.evalWithCallback( - "anki.deckOptionsPendingChanges()", callback - ) + self.web.evalWithCallback("anki.deckOptionsPendingChanges()", callback) else: callback(False)