bugfix
This commit is contained in:
parent
7dc11e6c35
commit
fe29022e8d
@ -1,7 +1,7 @@
|
|||||||
import qrcode
|
import qrcode
|
||||||
|
|
||||||
def gen_qr(data, path):
|
def gen_qr(data, path):
|
||||||
qr = =qrcode.QRCode(
|
qr = qrcode.QRCode(
|
||||||
version=1, # 控制二维码大小(1~40)
|
version=1, # 控制二维码大小(1~40)
|
||||||
error_correction=qrcode.constants.ERROR_CORRECT_L, # 容错率 L(7%)、M(15%)、Q(25%)、H(30%)
|
error_correction=qrcode.constants.ERROR_CORRECT_L, # 容错率 L(7%)、M(15%)、Q(25%)、H(30%)
|
||||||
box_size=10, # 每个格子的像素大小
|
box_size=10, # 每个格子的像素大小
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name=appPublic
|
name=appPublic
|
||||||
version = 5.3.0
|
version = 5.3.1
|
||||||
description = A set of base public functions or class
|
description = A set of base public functions or class
|
||||||
author = "yu moqing"
|
author = "yu moqing"
|
||||||
author_email = "yumoqing@gmail.com"
|
author_email = "yumoqing@gmail.com"
|
||||||
@ -10,6 +10,8 @@ license = "MIT"
|
|||||||
packages = find:
|
packages = find:
|
||||||
requires_python = ">=3.8"
|
requires_python = ">=3.8"
|
||||||
install_requires =
|
install_requires =
|
||||||
|
pillow
|
||||||
|
qrcode
|
||||||
xlrd
|
xlrd
|
||||||
bs4
|
bs4
|
||||||
xlwt
|
xlwt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user