mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
try: fix modified tracks keyerror
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ class IndexTracks:
|
||||
extract_thumb(
|
||||
track["filepath"], track["albumhash"] + ".webp", overwrite=True
|
||||
)
|
||||
except (FileNotFoundError, KeyError):
|
||||
except FileNotFoundError:
|
||||
continue
|
||||
|
||||
@staticmethod
|
||||
@@ -100,7 +100,7 @@ class IndexTracks:
|
||||
modified_tracks.append(
|
||||
{
|
||||
"filepath": track.filepath,
|
||||
"trackhash": track.trackhash,
|
||||
"albumhash": track.albumhash,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user