replace BaseException with Exception
[electrum-nvc.git] / gui / stdio.py
index f252a8a..517f8bb 100644 (file)
@@ -198,7 +198,7 @@ class ElectrumGui:
 
         try:
             tx = self.wallet.mktx( [(self.str_recipient, amount)], password, fee)
-        except BaseException, e:
+        except Exception as e:
             print(str(e))
             return