explicit not None check

This commit is contained in:
Lucas Armand committed 2025-12-15 19:55:43 -08:00
1 parent ebaf3b6d3a
commit c05131cd14
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ WORD_LIST = nltk.corpus.words.words()
def request_parser(request):
data = request
if request.get("input"):
if request.get("input") is not None:
data = request.get("input")
return data