fix command names: setconfig, setconfig
authorthomasv <thomasv@gitorious>
Fri, 1 Mar 2013 12:40:04 +0000 (13:40 +0100)
committerthomasv <thomasv@gitorious>
Fri, 1 Mar 2013 12:40:04 +0000 (13:40 +0100)
electrum

index 34d382a..5f103cf 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -461,11 +461,11 @@ if __name__ == '__main__':
         print_msg(eval(args[1]))
         wallet.save()
 
-    elif cmd == 'get':
+    elif cmd == 'getconfig':
         key = args[1]
         print_msg(wallet.config.get(key))
 
-    elif cmd == 'set':
+    elif cmd == 'setconfig':
         key, value = args[1:3]
         if key not in ['seed', 'seed_version', 'master_public_key', 'use_encryption']:
             wallet.config.set_key(key, value, True)