Skip to content

Commit

Permalink
correct details
Browse files Browse the repository at this point in the history
  • Loading branch information
x-hw committed Sep 6, 2016
1 parent ad3aefa commit a830a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)



Expand Down
3 changes: 1 addition & 2 deletions mylibs/ECC.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a830a83

Please sign in to comment.