Skip to content

Commit 712a708

Browse files
committed
continued linting
1 parent 393525f commit 712a708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_azureiot/base64.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
def _bytes_from_decode_data(data: str):
4747
try:
4848
return data.encode("ascii")
49-
except Exception as e:
50-
raise ValueError("string argument should contain only ASCII characters") from e
49+
except Exception as exc:
50+
raise ValueError("string argument should contain only ASCII characters") from exc
5151

5252

5353
def b64encode(toencode: bytes) -> bytes:

0 commit comments

Comments
 (0)