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:
@@ -1238,7 +1238,7 @@ def checkTools(source):
|
||||
if options.format == 'MOBI':
|
||||
try:
|
||||
subprocess_run(['kindlegen', '-locale', 'en'], stdout=PIPE, stderr=STDOUT, check=True)
|
||||
except FileNotFoundError:
|
||||
except (FileNotFoundError, CalledProcessError):
|
||||
print('ERROR: KindleGen is missing!')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user