12 lines
205 B
Python
12 lines
205 B
Python
|
import logging
|
||
|
from pyrogram import idle
|
||
|
from ci import app
|
||
|
|
||
|
# 日志记录
|
||
|
logging.basicConfig(level=logging.ERROR)
|
||
|
app.start()
|
||
|
print("[INFO] 开始运行")
|
||
|
idle()
|
||
|
app.stop()
|
||
|
print("[INFO] 结束运行")
|