mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix formatting
This commit is contained in:
parent
d29ef07637
commit
5dfef8aae2
1 changed files with 1 additions and 3 deletions
|
@ -108,9 +108,7 @@ class DeckOptionsDialog(QDialog):
|
||||||
def has_modified_data(self, callback: Callable[[bool], None]):
|
def has_modified_data(self, callback: Callable[[bool], None]):
|
||||||
"""Calls `callback` with the information of whether any deck options are modified."""
|
"""Calls `callback` with the information of whether any deck options are modified."""
|
||||||
if self.ready:
|
if self.ready:
|
||||||
self.web.evalWithCallback(
|
self.web.evalWithCallback("anki.deckOptionsPendingChanges()", callback)
|
||||||
"anki.deckOptionsPendingChanges()", callback
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
callback(False)
|
callback(False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue