mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
update docstrings for latest black
This commit is contained in:
parent
397e226f8b
commit
7442eed41a
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ srcCards = None
|
|||
|
||||
|
||||
def clear_tempfile(tf):
|
||||
""" https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file """
|
||||
"""https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file"""
|
||||
try:
|
||||
tf.close()
|
||||
os.unlink(tf.name)
|
||||
|
|
|
@ -406,7 +406,7 @@ $editorToolbar.then(({{ addButton }}) => addButton(editorToolbar.labelButton({{
|
|||
def onRowChanged(
|
||||
self, _current: Optional[QItemSelection], _previous: Optional[QItemSelection]
|
||||
) -> None:
|
||||
"""Update current note and hide/show editor. """
|
||||
"""Update current note and hide/show editor."""
|
||||
if self._closeEventHasCleanedUp:
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue