更新 main.py
This commit is contained in:
2
main.py
2
main.py
@@ -166,7 +166,7 @@ def general_info():
|
|||||||
"""获取general信息"""
|
"""获取general信息"""
|
||||||
LOGGER.info("获取general信息")
|
LOGGER.info("获取general信息")
|
||||||
try:
|
try:
|
||||||
subprocess.run(["python", "general.py"], check=True)
|
subprocess.run(["python3", "general.py"], check=True)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
LOGGER.error("获取general信息失败: %s", e)
|
LOGGER.error("获取general信息失败: %s", e)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user