mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 00:53:37 +02:00
Fix regression in formats listing in /browse summaries
This commit is contained in:
parent
848fe8096d
commit
e46fed78cc
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ def browse_booklist_page(self, ids=None, sort=None):
|
|||
other_fmts = [x for x in fmts if x.lower() != fmt.lower()]
|
||||
if other_fmts:
|
||||
ofmts = [u'<a href="/get/{0}/{1}_{2}.{0}" title="{3}">{3}</a>'\
|
||||
.format(fmt, fname, id_, fmt.upper()) for fmt in
|
||||
.format(f, fname, id_, f.upper()) for f in
|
||||
other_fmts]
|
||||
ofmts = ', '.join(ofmts)
|
||||
args['other_formats'] = u'<strong>%s: </strong>' % \
|
||||
|
|
|
|||
Loading…
Reference in a new issue