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

Supprimer la fonction `main` obsolète et ajuster le point d'entrée principal pour simplifier l'initialisation.

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