URI: 
       tfix json_encode with python console - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 55fafc35c11298cd0469271358c65262cf2935ee
   DIR parent 1abc5412cd924bd2ae65cb608022e460227272e2
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Mon,  9 Nov 2015 16:09:57 +0100
       
       fix json_encode with python console
       
       Diffstat:
         M gui/qt/console.py                   |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
   DIR diff --git a/gui/qt/console.py b/gui/qt/console.py
       t@@ -213,10 +213,9 @@ class Console(QtGui.QPlainTextEdit):
                        try:
                            # eval is generally considered bad practice. use it wisely!
                            result = eval(command, self.namespace, self.namespace)
       -                    result = util.json_encode(result)
                            if result != None:
                                if self.is_json:
       -                            util.print_msg(result)
       +                            util.print_msg(util.json_encode(result))
                                else:
                                    self.appendPlainText(repr(result))
                        except SyntaxError: