mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2fc15cf23b
commit
5cbdcf2a5e
@ -748,7 +748,8 @@ class EbookViewer(MainWindow):
|
||||
exe = os.path.join(macos_edit_book_bundle_path(), exe)
|
||||
else:
|
||||
exe = exe_path(exe)
|
||||
cmd = [exe]
|
||||
|
||||
cmd = [exe] if isinstance(exe, str) else list(exe)
|
||||
if selected_text:
|
||||
cmd += ['--select-text', selected_text]
|
||||
from calibre.gui2.widgets import BusyCursor
|
||||
|
Loading…
x
Reference in New Issue
Block a user