5 Commits
GUI ... main

Author SHA1 Message Date
MarkusJoe
7a766efa8a Merge branch 'main' of https://github.com/MarkusJoe/QWeatherReporter 2022-04-01 22:06:54 +08:00
MarkusJoe
71eb2472ce update requirements.txt 2022-04-01 22:05:15 +08:00
RTAkland
1b3d1e2875 Update README.md 2022-03-19 13:03:09 +08:00
RTAkland
025e0d8664 feat: fix a bug 2022-01-14 22:51:25 +08:00
RTAkland
44f694f82e feat: update README.md 2022-01-14 18:45:26 +08:00
3 changed files with 2 additions and 6 deletions

View File

@@ -15,10 +15,6 @@
</div> </div>
<div align="center">
<b><i>当前分支版本为重构后的版本重构前版本请在before分支中查看<br>(重构前版本不再更新,最新版本为v2.9.0)</i></b><br>
<b><i><a href="https://markusjoe.github.io/" target="_blank">点击跳转到帮助文档</a></i></b>
</div>
## 声明 ## 声明
- > 程序作者: **RTAkland (markushammered@gmail.com)** - > 程序作者: **RTAkland (markushammered@gmail.com)**

View File

@@ -14,7 +14,7 @@ def read_config():
:return: mail-settings, request-settings, client-settings, only-view-settings --> 0, 1, 2, 3 :return: mail-settings, request-settings, client-settings, only-view-settings --> 0, 1, 2, 3
""" """
config_file = 'config.yml' config_file = 'config.yml'
with open(f'./{config_file}', 'r') as conf: with open(f'./{config_file}', 'r', encoding='utf-8') as conf:
config = YAML().load(conf.read()) config = YAML().load(conf.read())
mail_settings = config['mail-settings'] mail_settings = config['mail-settings']
request_settings = config['request-settings'] request_settings = config['request-settings']

View File

@@ -1,5 +1,5 @@
requests>=2.26.0 requests>=2.26.0
ruamel.yaml>=0.17.17 ruamel.yaml>=0.17.17
pandas>=1.3.4 pandas==1.3.4
colorlog>=6.5.0 colorlog>=6.5.0
openpyxl>=3.0.9 openpyxl>=3.0.9