Skip to content

Commit

Permalink
Removed unnecessary list
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Nov 25, 2021
1 parent 1d26f5d commit 27c6259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segno/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ def make_matrix(version, reserve_regions=True, add_timing=True):
"""
size = calc_matrix_size(version)
row = [0x2] * size
matrix = tuple([bytearray(row) for i in range(size)])
matrix = tuple(bytearray(row) for i in range(size))
if reserve_regions:
if version > 6:
# Reserve version pattern areas
Expand Down

0 comments on commit 27c6259

Please sign in to comment.