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!",
|
logging.debug("Found %s at %s, match for %s!",
|
||||||
line, seeked_found_line, data.sub) # REMOVEME: DEBUG
|
line, seeked_found_line, data.sub) # REMOVEME: DEBUG
|
||||||
break
|
break
|
||||||
|
|
||||||
if seeked_found_line is None:
|
if not seeked_found_line:
|
||||||
return {
|
return {
|
||||||
'failed_seek': True,
|
'failed_seek': True,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user