Skip to content

Commit 667f64a

Browse files
authored
Merge pull request #21 from tekktrik/dev/fix-pylint-errors
Fix pylint errors
2 parents da446cf + 7910d18 commit 667f64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_miniqr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __init__(self, *, qr_type=None, error_correct=L):
9393
def add_data(self, data):
9494
"""Add more data to the QR code, must be bytestring stype"""
9595
self.data_list.append(data)
96-
datalen = sum([len(x) for x in self.data_list])
96+
datalen = sum(len(x) for x in self.data_list)
9797
if not self.type:
9898
for qr_type in range(1, 6):
9999
rs_blocks = _get_rs_blocks(qr_type, self.ECC)

0 commit comments

Comments
 (0)