1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

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

View File

@@ -30,7 +30,7 @@ import sys
from urllib.parse import unquote
from time import sleep
from shutil import move, rmtree
from subprocess import STDOUT, PIPE
from subprocess import STDOUT, PIPE, CalledProcessError
import requests
from xml.sax.saxutils import escape
@@ -945,7 +945,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
self.addMessage('Your <a href="https://www.amazon.com/b?node=23496309011">KindleGen</a>'
' is outdated! MOBI conversion might fail.', 'warning')
break
except FileNotFoundError:
except (FileNotFoundError, CalledProcessError):
self.kindleGen = False
if startup:
self.display_kindlegen_missing()