URI: 
       tset wallet file permissions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3ae348791fa870082aa7033e43505fc2db799f6b
   DIR parent 9ee946c797931770f1580153e61059555427d156
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Fri,  8 Jun 2012 13:14:25 +0200
       
       set wallet file permissions
       
       Diffstat:
         M lib/wallet.py                       |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -616,6 +616,8 @@ class Wallet:
                f = open(self.path,"w")
                f.write( repr(s) )
                f.close()
       +        import stat
       +        os.chmod(self.path,stat.S_IREAD | stat.S_IWRITE)
        
            def read(self):
                import interface
       t@@ -735,7 +737,7 @@ class Wallet:
                    fee = self.fee*len(inputs) if fixed_fee is None else fixed_fee
                    if total >= amount + fee: break
                else:
       -            #print "not enough funds: %d %d"%(total, fee)
       +            #print "not enough funds: %s %s"%(format_satoshis(total), format_satoshis(fee))
                    inputs = []
                return inputs, total, fee