minor refactor
This commit is contained in:
@ -206,8 +206,8 @@ class LyricSearch(FastAPI):
|
||||
logging.debug("Found %s at %s, match for %s!",
|
||||
line, seeked_found_line, data.sub) # REMOVEME: DEBUG
|
||||
break
|
||||
|
||||
if seeked_found_line is None:
|
||||
|
||||
if not seeked_found_line:
|
||||
return {
|
||||
'failed_seek': True,
|
||||
}
|
||||
|
Reference in New Issue
Block a user