Browse Source

Fix daemon being treated as a function (#6771)

daemon was improperly turned into a function in the Python console.
Point daemon to window.gui_object.daemon instead.
patch-4
Benoît Verret 4 years ago
committed by GitHub
parent
commit
a1c02e2c45
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electrum/gui/qt/main_window.py

2
electrum/gui/qt/main_window.py

@ -2143,7 +2143,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
self.password_dialog,
**{**kwargs, 'wallet': self.wallet})
for m in dir(c):
if m[0]=='_' or m in ['network','wallet','config']: continue
if m[0]=='_' or m in ['network','wallet','config','daemon']: continue
methods[m] = mkfunc(c._run, m)
console.updateNamespace(methods)

Loading…
Cancel
Save