Local-osu-Server / osu_client_server

0 stars 0 forks source link

make adaparter for this #94

Open github-actions[bot] opened 2 months ago

github-actions[bot] commented 2 months ago

https://github.com/Local-osu-Server/osu_client_server/blob/dd11984f413e466d65f48865301b1d37afb94e08/repositories/application.py#L61


        raise KillOsuError("osu!.exe not found.")

    async def launch_osu(self) -> dict[str, str]:
        # TODO: make adaparter for this
        response = await self.http_client.get("http://localhost:5000/api/v1/config/")

        if response.status_code >= 400: