URI: 
       tsetconfig: return False on error - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit e4946cf26ee8be2c1f997ca813740963194d48f3
   DIR parent 31c4849566cda04a131775365abadb65221485b8
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue,  2 Jun 2015 11:05:21 +0200
       
       setconfig: return False on error
       
       Diffstat:
         M electrum                            |       2 +-
         M lib/commands.py                     |       4 ++--
       
       2 files changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum b/electrum
       t@@ -288,7 +288,7 @@ def run_cmdline(config):
            if cmd.requires_network and not config.get('offline'):
                s = get_daemon(config, False)
                if not s:
       -            print_msg("Network daemon is not running. Try 'electrum daemon start'")
       +            print_msg("Network daemon is not running. Try 'electrum daemon start'\nIf you want to run this command offline, use the -o flag.")
                    sys.exit(1)
                network = NetworkProxy(s, config)
                network.start()
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -122,8 +122,8 @@ class Commands:
                try:
                    value = ast.literal_eval(value)
                except:
       -            pass
       -        self.config.set_key(key, value, True)
       +            return False
       +        self.config.set_key(key, value)
                return True
        
            @command('')