fix flatpak kindlegen detection (7.5.0 regression) (#1000)

* fix flatpak kindlegen detection

* fix shared
This commit is contained in:
Alex Xu
2025-06-29 09:28:47 -07:00
committed by GitHub
parent c7ebb230c2
commit 6299c45790
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -20,7 +20,6 @@
from functools import lru_cache
import os
from hashlib import md5
from html.parser import HTMLParser
import subprocess
from packaging.version import Version
@@ -140,7 +139,7 @@ def available_archive_tools():
try:
subprocess_run([tool], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
available.append(tool)
except FileNotFoundError:
except (FileNotFoundError, subprocess.CalledProcessError):
pass
return available