Content server: Fix Read button broken in 6.2.0

Forgot to delete a line from my development code
This commit is contained in:
Kovid Goyal 2022-07-29 14:08:42 +05:30
parent 47acad4e3d
commit 8236c1c788
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -480,7 +480,6 @@ def read_format(book_id, fmt):
def read_book(book_id):
fmt = preferred_format(book_id)
fmt = 'PDF'
if fmt and fmt.lower() is 'pdf':
window.open(download_url(book_id, fmt, 'inline'), '_blank')
else: