Fix formatting

This commit is contained in:
Damien Elmes 2024-09-22 18:36:01 +10:00
parent d29ef07637
commit 5dfef8aae2

View file

@ -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)