mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Content server: Fix Read button broken in 6.2.0
Forgot to delete a line from my development code
This commit is contained in:
parent
47acad4e3d
commit
8236c1c788
@ -480,7 +480,6 @@ def read_format(book_id, fmt):
|
|||||||
|
|
||||||
def read_book(book_id):
|
def read_book(book_id):
|
||||||
fmt = preferred_format(book_id)
|
fmt = preferred_format(book_id)
|
||||||
fmt = 'PDF'
|
|
||||||
if fmt and fmt.lower() is 'pdf':
|
if fmt and fmt.lower() is 'pdf':
|
||||||
window.open(download_url(book_id, fmt, 'inline'), '_blank')
|
window.open(download_url(book_id, fmt, 'inline'), '_blank')
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user