mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
7bc0b414cb
commit
b3eb0dc196
@ -153,6 +153,7 @@ class LibraryServer(object):
|
|||||||
cherrypy.response.headers['Content-Type'] = 'text/xml'
|
cherrypy.response.headers['Content-Type'] = 'text/xml'
|
||||||
books = []
|
books = []
|
||||||
for record in iter(self.db):
|
for record in iter(self.db):
|
||||||
|
if 'EPUB' in record['formats'].upper():
|
||||||
authors = ' & '.join([i.replace('|', ',') for i in record[2].split(',')])
|
authors = ' & '.join([i.replace('|', ',') for i in record[2].split(',')])
|
||||||
books.append(self.STANZA_ENTRY.generate(authors=authors,
|
books.append(self.STANZA_ENTRY.generate(authors=authors,
|
||||||
record=record,
|
record=record,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user