mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Workaround for browsers like iPhone Safari that send extra arguments when downloading books from the content server
This commit is contained in:
parent
7a2e4a43e6
commit
8e2df3f349
@ -802,7 +802,7 @@ class LibraryServer(object):
|
|||||||
|
|
||||||
|
|
||||||
@expose
|
@expose
|
||||||
def get(self, what, id):
|
def get(self, what, id, *args, **kwargs):
|
||||||
'Serves files, covers, thumbnails from the calibre database'
|
'Serves files, covers, thumbnails from the calibre database'
|
||||||
try:
|
try:
|
||||||
id = int(id)
|
id = int(id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user