jiemianNews/main.py
2022-08-02 22:22:21 +08:00

10 lines
180 B
Python

import logging
from ci import app, scheduler
# 日志记录
logging.basicConfig(level=logging.INFO)
print("Starting...")
if not scheduler.running:
scheduler.start()
app.run()