commit 9372c31b5d3ba7fdb0caace5643d96f0fb7ff6e8 parent 084b1e86efc31b324ec1fb22425c88771095dd6a Author: SomberNight <somber.night@protonmail.com> Date: Fri, 9 Mar 2018 19:10:57 +0100 fix #4084 Diffstat:
M | lib/plugins.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/plugins.py b/lib/plugins.py @@ -495,7 +495,7 @@ class DeviceMgr(ThreadJob, PrintError): if info.label == keystore.label: return info msg = _("Please select which {} device to use:").format(plugin.device) - descriptions = [info.label + ' (%s)'%(_("initialized") if info.initialized else _("wiped")) for info in infos] + descriptions = [str(info.label) + ' (%s)'%(_("initialized") if info.initialized else _("wiped")) for info in infos] c = handler.query_choice(msg, descriptions) if c is None: raise UserCancelled()