diff --git a/magicDemo.py b/magicDemo.py index 52eadae..85ca4b0 100644 --- a/magicDemo.py +++ b/magicDemo.py @@ -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") diff --git a/msctPkgver/__init__.py b/msctPkgver/__init__.py index 9d09e87..09b4471 100644 --- a/msctPkgver/__init__.py +++ b/msctPkgver/__init__.py @@ -7,7 +7,7 @@ # 若需转载或借鉴 许可声明请查看仓库目录下的 Lisence.md -__version__ = '0.2.1.2' +__version__ = '0.2.1.3' __all__ = [] __author__ = (('金羿', 'Eilles Wan'), ('诸葛亮与八卦阵', 'bgArray'), ('鸣凤鸽子', 'MingFengPigeon'))