Set ImportTask.candidates to None by default

This commit is contained in:
Šarūnas Nejus 2026-03-23 01:56:16 +00:00
parent 7b93269ae9
commit 7ea42c7d50
No known key found for this signature in database

View file

@ -167,7 +167,7 @@ class ImportTask(BaseImportTask):
# Keep track of the current task item
cur_album: str | None = None
cur_artist: str | None = None
candidates: Sequence[AlbumMatch | TrackMatch] = []
candidates: Sequence[AlbumMatch | TrackMatch] | None = None
rec: Recommendation | None = None
def __init__(