This commit is contained in:
Benjamin Schaaf
2022-01-09 17:34:46 +11:00
parent d0861460fd
commit 6c2dbf192e
2 changed files with 6 additions and 0 deletions

View File

@@ -89,6 +89,9 @@ class UIState:
active_playlist_id: Optional[str] = None
# Pickle backwards compatibility
_DefaultGenre = AlbumSearchQuery.Genre
def __getstate__(self):
state = self.__dict__.copy()
del state["song_stream_cache_progress"]