From c6db6148ca5baa4de1ea3131e53bf713a16c165e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Jan 2018 11:11:54 +0530 Subject: [PATCH] Revert unneccessary change --- src/calibre/utils/config_base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/calibre/utils/config_base.py b/src/calibre/utils/config_base.py index 6ed1700dc5..cfd4a85dc6 100644 --- a/src/calibre/utils/config_base.py +++ b/src/calibre/utils/config_base.py @@ -156,10 +156,7 @@ class OptionSet(object): if opt.help: opt.help = t(opt.help) if opt.name == 'use_primary_find_in_search': - h = opt.help - if isinstance(h, bytes): - h = h.decode('utf-8', 'replace') - opt.help = h.format(u'ñ') + opt.help = opt.help.format(u'ñ') def option_parser(self, user_defaults=None, usage='', gui_mode=False): from calibre.utils.config import OptionParser