From 8e2df3f3496514f1452c1f38f6c0a9f352b5dbd9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 9 Jan 2010 10:10:54 -0700 Subject: [PATCH] Workaround for browsers like iPhone Safari that send extra arguments when downloading books from the content server --- src/calibre/library/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/server.py b/src/calibre/library/server.py index a8c46e84f6..00eea78589 100644 --- a/src/calibre/library/server.py +++ b/src/calibre/library/server.py @@ -802,7 +802,7 @@ class LibraryServer(object): @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)