mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -802,7 +802,7 @@ def index(self, **kwargs):
|
|||
|
||||
|
||||
@expose
|
||||
def get(self, what, id):
|
||||
def get(self, what, id, *args, **kwargs):
|
||||
'Serves files, covers, thumbnails from the calibre database'
|
||||
try:
|
||||
id = int(id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue