tpython3 fixes - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 01736197f85593b0616093608f630c052fd53779 DIR parent 1a6e41cec8ac862ecde3a2647414befc775954e0 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 24 Aug 2017 16:19:47 +0200 python3 fixes Diffstat: M gui/kivy/uix/dialogs/installwizard… | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py t@@ -527,13 +527,17 @@ class ShowSeedDialog(WizardDialog): message = _("If you forget your PIN or lose your device, your seed phrase will be the only way to recover your funds.") ext = False + def __init__(self, wizard, **kwargs): + super(ShowSeedDialog, self).__init__(wizard, **kwargs) + self.seed_text = kwargs['seed_text'] + def on_parent(self, instance, value): if value: app = App.get_running_app() self._back = _back = partial(self.ids.back.dispatch, 'on_release') def options_dialog(self): - from seed_options import SeedOptionsDialog + from .seed_options import SeedOptionsDialog def callback(status): self.ext = status d = SeedOptionsDialog(self.ext, callback) t@@ -564,7 +568,7 @@ class RestoreSeedDialog(WizardDialog): self.ext = False def options_dialog(self): - from seed_options import SeedOptionsDialog + from .seed_options import SeedOptionsDialog def callback(status): self.ext = status d = SeedOptionsDialog(self.ext, callback)