Fix viewing LRF files not working. Fixes #1970391 [LRF books cannot be viewed](https://bugs.launchpad.net/calibre/+bug/1970391)

This commit is contained in:
Kovid Goyal 2022-04-26 17:15:12 +05:30
parent fde3f7bbb0
commit 3a83e75401
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -168,6 +168,7 @@ class ViewAction(InterfaceAction):
if name is not None:
args.append(name)
if viewer != 'lrfviewer':
if open_at is not None:
args.append('--open-at=' + open_at)
if calibre_book_data is not None: