更新 weather.py

This commit is contained in:
星光-k
2025-01-16 20:15:21 +00:00
committed by GitHub
parent 7bc892d06b
commit 8eb21afb19

View File

@@ -91,7 +91,7 @@ try:
except IOError as e:
logging.info(e)
except KeyboardInterrupt:
logging.info("检测到键盘中断,正在优雅地退出")
logging.info("检测到键盘中断,正在退出")
except Exception as e:
logging.error("发生了意外错误: %s", e)
exit()