Update App/app.py
Browse files- App/app.py +4 -3
App/app.py
CHANGED
@@ -9,9 +9,10 @@ manager = WorkerClient()
|
|
9 |
|
10 |
@app.on_event("startup")
|
11 |
async def startup_event():
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
15 |
if not response:
|
16 |
print("Error registering worker")
|
17 |
|
|
|
9 |
|
10 |
@app.on_event("startup")
|
11 |
async def startup_event():
|
12 |
+
await bot.start()
|
13 |
+
#if SERVER_STATE.MASTER:
|
14 |
+
|
15 |
+
#response = await manager.register_worker()
|
16 |
if not response:
|
17 |
print("Error registering worker")
|
18 |
|