minor refactor

This commit is contained in:
codey 2025-01-17 05:53:05 -05:00
parent f173edb5f4
commit 2c9c4a22a6

View File

@ -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,
} }