This commit is contained in:
SomberNight 2018-03-09 19:10:57 +01:00
parent 084b1e86ef
commit 9372c31b5d

View file

@ -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()