Misc
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import logging
|
||||
import os
|
||||
import urllib.parse
|
||||
import regex
|
||||
@@ -187,7 +186,7 @@ class LyricSearch(FastAPI):
|
||||
},
|
||||
)
|
||||
|
||||
excluded_sources: Optional[list] = data.excluded_sources
|
||||
excluded_sources: list = data.excluded_sources or []
|
||||
aggregate_search = aggregate.Aggregate(exclude_methods=excluded_sources)
|
||||
plain_lyrics: bool = not data.lrc
|
||||
result: Optional[Union[LyricsResult, dict]] = await aggregate_search.search(
|
||||
|
||||
Reference in New Issue
Block a user