You've already forked amazing-qr
mirror of
https://github.com/x-hw/amazing-qr.git
synced 2025-07-15 01:24:37 +02:00
correct details
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# QR-Code
|
||||
*update: add an **exe** version at https://github.com/sylnsfar/qrcode_win
|
||||
* update: add an **exe** version - [myqr.exe](https://github.com/sylnsfar/qrcode_win)
|
||||
|
||||
|
||||
|
||||
|
@ -42,8 +42,7 @@ def encode(ver, ecl, data_codewords):
|
||||
en = ecc_num_per_block[ver-1][lindex[ecl]]
|
||||
ecc = []
|
||||
for dc in data_codewords:
|
||||
test = get_ecc(dc, en)
|
||||
ecc.append(test)
|
||||
ecc.append(get_ecc(dc, en))
|
||||
return ecc
|
||||
|
||||
def get_ecc(dc, ecc_num):
|
||||
|
Reference in New Issue
Block a user