Обновление: v0.2

This commit is contained in:
dize_dev
2023-10-30 17:43:10 +06:00
parent 04a4ab8f64
commit 3cab0cc9b2
6 changed files with 32 additions and 17 deletions
+1 -4
View File
@@ -1,5 +1,4 @@
import sys
import asyncio
from config import user
from routes import labelers
from loguru import logger
@@ -10,6 +9,4 @@ for custom_labeler in labelers:
user.labeler.load(custom_labeler)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.create_task(user.run_polling())
loop.run_forever()
user.run_forever()