From 2c9c4a22a6754276969e89666e8587121a405ba4 Mon Sep 17 00:00:00 2001 From: codey Date: Fri, 17 Jan 2025 05:53:05 -0500 Subject: [PATCH] minor refactor --- endpoints/lyric_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/lyric_search.py b/endpoints/lyric_search.py index 1c1a5f5..1c8c91c 100644 --- a/endpoints/lyric_search.py +++ b/endpoints/lyric_search.py @@ -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, }