From dc959f2657f8dccd7da5c6761228cf04383e9c8d Mon Sep 17 00:00:00 2001 From: Tim Rae Date: Sat, 8 Jun 2024 20:48:26 +0200 Subject: [PATCH] Fix failure cache not being populated --- src/spotify_to_tidal/sync.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spotify_to_tidal/sync.py b/src/spotify_to_tidal/sync.py index 3ac96c6..5cd3e52 100755 --- a/src/spotify_to_tidal/sync.py +++ b/src/spotify_to_tidal/sync.py @@ -129,7 +129,6 @@ async def tidal_search(spotify_track, rate_limiter, tidal_session: tidalapi.Sess track_search = await asyncio.to_thread( _search_for_standalone_track ) if track_search: return track_search - return None # if none of the search modes succeeded then store the track id to the failure cache failure_cache.cache_match_failure(spotify_track['id'])