URI: 
       tcheck amount before calling make_payment_request - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 317a9de71d8711a59b14b2bfa546e8966fa5bd86
   DIR parent ba78093e2eae25fcd81c78c6404b8e1d8f50e91c
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 11 Jun 2015 12:32:52 +0200
       
       check amount before calling make_payment_request
       
       Diffstat:
         M lib/wallet.py                       |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1279,7 +1279,7 @@ class Abstract_Wallet(object):
                self.set_label(addr, message) # should be a default label
                rdir = config.get('requests_dir')
                req = self.get_payment_request(addr, config)
       -        if rdir:
       +        if rdir and amount is not None:
                    if not os.path.exists(rdir):
                        os.mkdir(rdir)
                    index = os.path.join(rdir, 'index.html')