git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
return python objects from commands, and display them as json
[electrum-nvc.git]
/
electrum
diff --git
a/electrum
b/electrum
index
a67dac2
..
06a9533
100755
(executable)
--- a/
electrum
+++ b/
electrum
@@
-488,7
+488,9
@@
if __name__ == '__main__':
func = eval('cmd_runner.' + cmd)
if password:
cmd_runner.password = password
- func(*args[1:])
+ result = func(*args[1:])
+ util.print_json(result)
+
if cmd not in offline_commands and not options.offline: