tfix: import version - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 49550514af7ad04fe09f4cf54589d8c68969d3eb DIR parent 2833a5bae93b891c54c6a15f06dd77173dd927d4 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 11 Oct 2016 12:08:56 +0200 fix: import version Diffstat: M lib/commands.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -43,7 +43,6 @@ from transaction import Transaction import paymentrequest from paymentrequest import PR_PAID, PR_UNPAID, PR_UNKNOWN, PR_EXPIRED import contacts - known_commands = {} class Command: t@@ -331,8 +330,8 @@ class Commands: @command('') def version(self): """Return the version of electrum.""" - import electrum # Needs to stay here to prevent ciruclar imports - return electrum.ELECTRUM_VERSION + from version import ELECTRUM_VERSION + return ELECTRUM_VERSION @command('w') def getmpk(self):