Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Sep 22, 2024
1 parent d29ef07 commit 5dfef8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qt/aqt/deckoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5dfef8a

Please sign in to comment.