From 3806c31a659a0425191dcbf224f227a86adbdbb4 Mon Sep 17 00:00:00 2001 From: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com> Date: Wed, 25 Jun 2025 18:49:27 +0200 Subject: [PATCH] FIX checks --- qt/aqt/editor.py | 2 +- qt/aqt/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 364e8704f..e824af14e 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -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 diff --git a/qt/aqt/utils.py b/qt/aqt/utils.py index 4a132889b..0bf8f49ff 100644 --- a/qt/aqt/utils.py +++ b/qt/aqt/utils.py @@ -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: