diff options
| author | Bobby <[email protected]> | 2024-06-06 15:34:10 +0000 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-06-06 15:34:10 +0000 |
| commit | a503e64bcd31eb6ae1b105ed5a5a9615d5587f01 (patch) | |
| tree | b42fa1e3f1f95ef531ebc1ee9887f5f69a214cbb | |
| parent | 5513d897a07e8df12955db49fa2f3309e0baf97c (diff) | |
| download | thatcomputerscientist-a503e64bcd31eb6ae1b105ed5a5a9615d5587f01.tar.xz thatcomputerscientist-a503e64bcd31eb6ae1b105ed5a5a9615d5587f01.zip | |
Test Env Load
| -rw-r--r-- | blog/context_processors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/context_processors.py b/blog/context_processors.py index 0279562b..6f958f9c 100644 --- a/blog/context_processors.py +++ b/blog/context_processors.py @@ -43,7 +43,7 @@ def check_spam(user_ip, user_agent, comment, author): # Now we check with Google Generative AI if gemini_api_key is None: - return False + return True else: genai.configure(api_key=gemini_api_key) |
