diff --git a/corenetworks/authenticators.py b/corenetworks/authenticators.py index 09e3109..d6fe771 100644 --- a/corenetworks/authenticators.py +++ b/corenetworks/authenticators.py @@ -56,7 +56,7 @@ class CoreNetworksBasicAuth(AuthBase): ), payload=e ) - except ConnectionError as e: + except ConnectionError: raise response = handle.json() diff --git a/corenetworks/client.py b/corenetworks/client.py index f028ef9..d13a649 100644 --- a/corenetworks/client.py +++ b/corenetworks/client.py @@ -252,7 +252,7 @@ class CoreNetworks(): ), payload=e ) - except ConnectionError as e: + except ConnectionError: raise if handle.status_code == 200: