Skip to content

Commit 07ecc85

Browse files
committed
Use True instead of 1 for dark module value for consistency
1 parent 6d0f2ea commit 07ecc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qrcode/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def setup_type_info(self, mask_pattern):
468468
self.modules[8][15 - i - 1] = mod
469469

470470
# fixed module
471-
self.modules[self.modules_count - 8][8] = 1
471+
self.modules[self.modules_count - 8][8] = True
472472

473473
def map_data(self, data, mask_pattern):
474474
inc = -1

0 commit comments

Comments
 (0)