From fe29022e8d6a7eaba89450ad5db827d97a004bf6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 25 Feb 2026 11:35:00 +0800 Subject: [PATCH] bugfix --- appPublic/qr.py | 2 +- setup.cfg | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/appPublic/qr.py b/appPublic/qr.py index dfc090a..0f130aa 100644 --- a/appPublic/qr.py +++ b/appPublic/qr.py @@ -1,7 +1,7 @@ import qrcode def gen_qr(data, path): - qr = =qrcode.QRCode( + qr = qrcode.QRCode( version=1, # 控制二维码大小(1~40) error_correction=qrcode.constants.ERROR_CORRECT_L, # 容错率 L(7%)、M(15%)、Q(25%)、H(30%) box_size=10, # 每个格子的像素大小 diff --git a/setup.cfg b/setup.cfg index 8207a59..b06664a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name=appPublic -version = 5.3.0 +version = 5.3.1 description = A set of base public functions or class author = "yu moqing" author_email = "yumoqing@gmail.com" @@ -10,6 +10,8 @@ license = "MIT" packages = find: requires_python = ">=3.8" install_requires = + pillow + qrcode xlrd bs4 xlwt