Ekimart commited on
Commit
b54e1bf
·
1 Parent(s): 26cd7c2

Associer l'application WebSocket à l'instance de service pour permettre son accès global.

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -406,6 +406,7 @@ class WebSocketNotificationService:
406
  def main():
407
  service = WebSocketNotificationService()
408
  service.run()
 
409
 
410
 
411
  if __name__ == "__main__":
 
406
  def main():
407
  service = WebSocketNotificationService()
408
  service.run()
409
+ app = service.app
410
 
411
 
412
  if __name__ == "__main__":