Yakova commited on
Commit
085d4b8
1 Parent(s): 0fd41fe

Update App/app.py

Browse files
Files changed (1) hide show
  1. 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
- if SERVER_STATE.MASTER:
13
- await bot.start()
14
- response = await manager.register_worker()
 
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