Rodja Trappe 1 年間 前
コミット
a1331343c1
1 ファイル変更3 行追加3 行削除
  1. 3 3
      website/fly.py

+ 3 - 3
website/fly.py

@@ -25,9 +25,9 @@ def setup() -> bool:
         This only works if the correct instance is provided as a query_string parameter.
         """
 
-        def __init__(self, asgi_app: ASGIApp) -> None:
-            super().__init__(asgi_app)
-            self.app = asgi_app
+        def __init__(self, app: ASGIApp) -> None:
+            super().__init__(app)
+            self.app = app
             self.app_name = os.environ.get('FLY_APP_NAME')
 
         async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None: