minor refactor
This commit is contained in:
parent
f173edb5f4
commit
2c9c4a22a6
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user