Hana Celeste commited on
Update main.py
Browse files
main.py
CHANGED
|
@@ -22,14 +22,12 @@ async def lifespan(app: FastAPI):
|
|
| 22 |
await fetcher.start()
|
| 23 |
await discord_app.start()
|
| 24 |
await byps.start()
|
| 25 |
-
await gscode.start()
|
| 26 |
yield
|
| 27 |
-
await gscode.stop()
|
| 28 |
-
await byps.stop()
|
| 29 |
-
await discord_app.stop()
|
| 30 |
-
await enka.stop()
|
| 31 |
-
await akasa.stop()
|
| 32 |
await fetcher.stop()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
app = FastAPI(lifespan=lifespan)
|
| 35 |
|
|
|
|
| 22 |
await fetcher.start()
|
| 23 |
await discord_app.start()
|
| 24 |
await byps.start()
|
|
|
|
| 25 |
yield
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
await fetcher.stop()
|
| 27 |
+
await akasa.stop()
|
| 28 |
+
await enka.stop()
|
| 29 |
+
await discord_app.stop()
|
| 30 |
+
await byps.stop()
|
| 31 |
|
| 32 |
app = FastAPI(lifespan=lifespan)
|
| 33 |
|