mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
FIX checks
This commit is contained in:
parent
72edc14d9a
commit
3806c31a65
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ from anki.hooks import runFilter
|
|||
from anki.httpclient import HttpClient
|
||||
from anki.models import NotetypeDict, NotetypeId, StockNotetype
|
||||
from anki.notes import Note, NoteFieldsCheckResult, NoteId
|
||||
from anki.utils import checksum, is_lin, is_mac, is_win, namedtmp
|
||||
from anki.utils import checksum, is_lin, is_win, namedtmp
|
||||
from aqt import AnkiQt, colors, gui_hooks
|
||||
from aqt.operations import QueryOp
|
||||
from aqt.operations.note import update_note
|
||||
|
|
|
|||
|
|
@ -939,7 +939,7 @@ def show_in_folder(path: str) -> None:
|
|||
# Open the file using the default file handler. This might still open
|
||||
# the file in an image viewer or the browser (instead of in a file
|
||||
# manager) if the user has configured the system that way.
|
||||
subprocess.run(["xdg-open", path])
|
||||
subprocess.run(["xdg-open", path], check=False)
|
||||
|
||||
|
||||
def _show_in_folder_win32(path: str) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue