Added a missing optional type hint.

pull/205/head
Project Nayuki 6 months ago
parent 99f057910d
commit e6d80f7661

@ -439,7 +439,7 @@ class QrCode:
# Adjacent modules in column having same color, and finder-like patterns
for x in range(size):
runcolor = False
runy = 0
runy: int = 0
runhistory = collections.deque([0] * 7, 7)
for y in range(size):
if modules[y][x] == runcolor:

Loading…
Cancel
Save