Skip to content

Commit

Permalink
Merge pull request #21 from tekktrik/dev/fix-pylint-errors
Browse files Browse the repository at this point in the history
Fix pylint errors
  • Loading branch information
evaherrada committed Nov 8, 2022
2 parents da446cf + 7910d18 commit 667f64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_miniqr.py
Expand Up @@ -93,7 +93,7 @@ def __init__(self, *, qr_type=None, error_correct=L):
def add_data(self, data):
"""Add more data to the QR code, must be bytestring stype"""
self.data_list.append(data)
datalen = sum([len(x) for x in self.data_list])
datalen = sum(len(x) for x in self.data_list)
if not self.type:
for qr_type in range(1, 6):
rs_blocks = _get_rs_blocks(qr_type, self.ECC)
Expand Down

0 comments on commit 667f64a

Please sign in to comment.