From e26d626804d3da44db8b53e6652e2e83b28d79dc Mon Sep 17 00:00:00 2001 From: Peyton Creery <44987569+phcreery@users.noreply.github.com> Date: Sun, 25 Aug 2024 10:01:21 -0500 Subject: [PATCH] fix #2164 (#2165) --- spotdl/console/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spotdl/console/web.py b/spotdl/console/web.py index 30eb8d5b0..8b846c50c 100644 --- a/spotdl/console/web.py +++ b/spotdl/console/web.py @@ -80,7 +80,7 @@ def web(web_settings: WebOptions, downloader_settings: DownloaderOptions): gui_repo, output_dir=str(web_app_dir), ) - web_app_dir = web_app_dir / "/dist" + web_app_dir = os.path.join(web_app_dir, "dist") elif web_settings["web_gui_location"]: web_app_dir = Path(web_settings["web_gui_location"]).resolve() logger.info("Using custom web app location: %s", web_app_dir) @@ -88,7 +88,7 @@ def web(web_settings: WebOptions, downloader_settings: DownloaderOptions): logger.info( "Using cached web app. To update use the `--force-update-gui` flag." ) - web_app_dir = web_app_dir / "/dist" + web_app_dir = os.path.join(web_app_dir, "dist") app_state.api = FastAPI( title="spotDL",