From c81b38768905628baf138c691722ed44a2404db6 Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Thu, 1 Feb 2024 03:00:27 +0300 Subject: [PATCH] updated cache root --- akarpov/music/services/spotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akarpov/music/services/spotify.py b/akarpov/music/services/spotify.py index a03d2ba..cafa033 100644 --- a/akarpov/music/services/spotify.py +++ b/akarpov/music/services/spotify.py @@ -34,7 +34,7 @@ def download_url(url, user_id=None): client_id=settings.MUSIC_SPOTIFY_ID, client_secret=settings.MUSIC_SPOTIFY_SECRET, user_auth=False, - cache_path="/tmp/", + cache_path=settings.MEDIA_ROOT, headless=False, downloader_settings=spot_settings, )