diff --git a/faucet/models.py b/faucet/models.py index 571dab77..178f15ac 100644 --- a/faucet/models.py +++ b/faucet/models.py @@ -32,11 +32,11 @@ def address(self): try: node = Bip44.FromPrivateKey(binascii.unhexlify(self.private_key), Bip44Coins.ETHEREUM) return node.PublicKey().ToAddress() - except Exception: + except: # noqa: E722 #dont change this, somehow it creates a bug if changed to Exception try: keypair = Keypair.from_base58_string(self.private_key) return str(keypair.pubkey()) - except Exception: + except: # noqa: E722 #dont change this, somehow it creates a bug if changed to Exception pass def __str__(self) -> str: