mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e54f13b2f0
commit
c4d05d8a36
@ -176,7 +176,7 @@ def run_file_dialog(
|
||||
prints('stdout+stderr from file dialog helper:', type('')([h.stdoutdata, h.stderrdata]))
|
||||
|
||||
if h.rc != 0:
|
||||
raise Exception('File dialog failed: ' + get_errors())
|
||||
raise Exception('File dialog failed (return code %s): %s' % (h.rc, get_errors()))
|
||||
server.join(2)
|
||||
if server.is_alive():
|
||||
raise Exception('Timed out waiting for read from pipe to complete')
|
||||
|
Loading…
x
Reference in New Issue
Block a user