From 9372c31b5d3ba7fdb0caace5643d96f0fb7ff6e8 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 9 Mar 2018 19:10:57 +0100 Subject: [PATCH] fix #4084 --- lib/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins.py b/lib/plugins.py index 12d1c0089..dcac6145b 100644 --- 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()