mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-27 15:51:17 +00:00
Fixed the upper limit of ECI values to be more permissive according to the spec, in almost all language versions except C.
This commit is contained in:
+1
-1
@@ -681,7 +681,7 @@ class QrSegment(object):
|
||||
elif (1 << 7) <= assignval < (1 << 14):
|
||||
bb.append_bits(2, 2)
|
||||
bb.append_bits(assignval, 14)
|
||||
elif (1 << 14) <= assignval < 999999:
|
||||
elif (1 << 14) <= assignval < 1000000:
|
||||
bb.append_bits(6, 3)
|
||||
bb.append_bits(assignval, 21)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user