URI: 
       tfilter out None in wallet.get_invoices - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 9fbac40d569de474ffc1038d1e42ea3f2c2660db
   DIR parent 9ff1bd4110c4d8c35b0a6dfd5fa90caf51892e1f
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 23 Oct 2019 05:30:16 +0200
       
       filter out None in wallet.get_invoices
       
       Diffstat:
         M electrum/wallet.py                  |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/wallet.py b/electrum/wallet.py
       t@@ -583,6 +583,7 @@ class Abstract_Wallet(AddressSynchronizer):
        
            def get_invoices(self):
                out = [self.get_invoice(key) for key in self.invoices.keys()]
       +        out = list(filter(None, out))
                out.sort(key=operator.itemgetter('time'))
                return out