Mbonea commited on
Commit
7b5b5dd
·
1 Parent(s): 0a6141c
Files changed (1) hide show
  1. App/Worker.py +1 -0
App/Worker.py CHANGED
@@ -21,6 +21,7 @@ celery.conf.update(
21
  @worker_process_init.connect
22
  def worker_process_init_handler(**kwargs):
23
  name = kwargs.get("name")
 
24
  if name == "send":
25
  print("its time")
26
  bot.start()
 
21
  @worker_process_init.connect
22
  def worker_process_init_handler(**kwargs):
23
  name = kwargs.get("name")
24
+ print(name)
25
  if name == "send":
26
  print("its time")
27
  bot.start()