URI: 
       tMerge pull request #2720 from bauerj/config-skip-save - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 6a984ab9b6f02ca412dd636ccf3e226e48e1ac0c
   DIR parent d4ab8de91db741e4006b67e183e602206b5fb519
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 10 Aug 2017 17:56:38 +0200
       
       Merge pull request #2720 from bauerj/config-skip-save
       
       Only save config if value changed
       Diffstat:
         M lib/simple_config.py                |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/simple_config.py b/lib/simple_config.py
       t@@ -117,6 +117,8 @@ class SimpleConfig(PrintError):
                    return
        
                with self.lock:
       +            if key in self.user_config and self.user_config[key] == value:
       +                return
                    self.user_config[key] = value
                    if save:
                        self.save_user_config()