mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Simplified and clarified small different pieces of code in a few languages.
This commit is contained in:
+1
-2
@@ -368,8 +368,7 @@ class QrCode(object):
|
||||
ecc = rs.get_remainder(dat)
|
||||
if i < numshortblocks:
|
||||
dat.append(0)
|
||||
dat.extend(ecc)
|
||||
blocks.append(dat)
|
||||
blocks.append(dat + ecc)
|
||||
assert k == len(data)
|
||||
|
||||
# Interleave (not concatenate) the bytes from every block into a single sequence
|
||||
|
||||
Reference in New Issue
Block a user