This commit is contained in:
Kovid Goyal 2008-10-31 20:38:29 -07:00
parent 7bc0b414cb
commit b3eb0dc196

View File

@ -153,6 +153,7 @@ class LibraryServer(object):
cherrypy.response.headers['Content-Type'] = 'text/xml'
books = []
for record in iter(self.db):
if 'EPUB' in record['formats'].upper():
authors = ' & '.join([i.replace('|', ',') for i in record[2].split(',')])
books.append(self.STANZA_ENTRY.generate(authors=authors,
record=record,