Skip to content

Commit 8ee5ae0

Browse files
authored
Merge pull request #23 from tekktrik/main
Fixed pylint issues
2 parents d496373 + c6c9e8a commit 8ee5ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_miniqr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ class QRPolynomial:
450450
def __init__(self, num, shift):
451451
"""Create a QR polynomial"""
452452
if not num:
453-
raise Exception(num.length + "/" + shift)
453+
raise ValueError(num.length + "/" + shift)
454454
offset = 0
455455
while offset < len(num) and num[offset] == 0:
456456
offset += 1

0 commit comments

Comments
 (0)