From 0e6160bf2d66a0590df034c426d88ffa68bf9af3 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 23 Oct 2018 03:01:23 +0200 Subject: [PATCH] follow-up prev: bad idea to eval translated string --- electrum/gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 137bf6f69..b0d272e55 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -2111,7 +2111,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): if len(mpk_list) > 1: def label(key): if isinstance(self.wallet, Multisig_Wallet): - return f'{_("cosigner")} {key+1} ( keystore: {keystore_types[key]} )' + return _("cosigner") + f' {key+1} ( keystore: {keystore_types[key]} )' return '' labels = [label(i) for i in range(len(mpk_list))] on_click = lambda clayout: show_mpk(clayout.selected_index())