Spaces:
Sleeping
Sleeping
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
main.py
CHANGED
|
@@ -403,11 +403,6 @@ class WebSocketNotificationService:
|
|
| 403 |
)
|
| 404 |
|
| 405 |
|
| 406 |
-
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|