This commit is contained in:
Kovid Goyal 2014-05-23 09:17:15 +05:30
parent be7b04b3b4
commit b1a9273935

View File

@ -437,7 +437,7 @@ class OPDSServer(object):
meta = category_meta.get(category, {}) meta = category_meta.get(category, {})
category_name = meta.get('name', which) category_name = meta.get('name', which)
which = unhexlify(which) which = unhexlify(which)
feed_title = default_feed_title + ' :: ' + _('By %s :: %s') % (category_name, which) feed_title = default_feed_title + ' :: ' + (_('By {0} :: {1}').format(category_name, which))
owhich = hexlify('N'+which) owhich = hexlify('N'+which)
up_url = url_for('opdsnavcatalog', version, which=owhich) up_url = url_for('opdsnavcatalog', version, which=owhich)
items = categories[category] items = categories[category]