Lawnmower/main.py

12 lines
205 B
Python
Raw Permalink Normal View History

2022-04-23 16:18:35 +00:00
import logging
from pyrogram import idle
from ci import app
# 日志记录
logging.basicConfig(level=logging.ERROR)
app.start()
print("[INFO] 开始运行")
idle()
app.stop()
print("[INFO] 结束运行")