修复一个小问题

This commit is contained in:
EillesWan 2023-01-21 19:39:14 +08:00
parent 9872a69a66
commit 3d66c06e6d
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ except ModuleNotFoundError as E:
if input(
"您需要安装以下模块才能使用这个样例\nrequests==2.28.1\nrich==12.6.0\nzhdate==0.1\n请问是否安装?(y/n)"
).lower() in ('y', '1'):
open("Demo_Requirements.txt", 'r').write(
open("Demo_Requirements.txt", 'w').write(
"requests==2.28.1\nrich==12.6.0\nzhdate==0.1"
)
os.system("pip install -r Demo_Requirements.txt")

View File

@ -7,7 +7,7 @@
# 若需转载或借鉴 许可声明请查看仓库目录下的 Lisence.md
__version__ = '0.2.1.2'
__version__ = '0.2.1.3'
__all__ = []
__author__ = (('金羿', 'Eilles Wan'), ('诸葛亮与八卦阵', 'bgArray'), ('鸣凤鸽子', 'MingFengPigeon'))