fix(audiobook_library): fix genres variable for database fix_genres
This commit is contained in:
1 parent
e3889d136c
commit
cd104a15d1
1 file changed
+1
-1
@@ -1208,7 +1208,7 @@ class AudiobookLibrary:
|
||||
new_genres.append(genre)
|
||||
elif isinstance(genre, list):
|
||||
if len(genres) > 1:
|
||||
genres = [g.strip() for g in genres if g]
|
||||
genres = [g.strip() for g in genre if g]
|
||||
logger.trace(f"REPR: {repr(genres)}")
|
||||
logger.trace(f"GENRES: {genres}")
|
||||
new_genres.extend(genre)
|
||||
|
||||
Reference in new issue
Block a user