mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
fix typeerror on colorlib.py
This commit is contained in:
+5
-1
@@ -53,7 +53,11 @@ class ProcessAlbumColors:
|
||||
"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
albums = [a for a in AlbumStore.albums if a is not None and len(a.colors) == 0]
|
||||
albums = [
|
||||
a
|
||||
for a in AlbumStore.albums
|
||||
if a is not None and a.colors is not None and len(a.colors) == 0
|
||||
]
|
||||
|
||||
with SQLiteManager() as cur:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user