mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
fix: import version
This commit is contained in:
parent
2833a5bae9
commit
49550514af
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue