fix flatpak kindlegen detection (7.5.0 regression) (#1000)
* fix flatpak kindlegen detection * fix shared
This commit is contained in:
1 parent
c7ebb230c2
commit
6299c45790
3 files changed
+4
-5
No files matched your search
@@ -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