Ekimart commited on
Commit
1d8ad25
·
1 Parent(s): b2de8b7

Refactorer le point d'entrée principal pour simplifier l'initialisation du service WebSocket et l'attribution de l'application.

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