Skip to content

Commit 6ddacb6

Browse files
committed
Fixed an incorrect comparison in a check function.
- Legacy-Id: 14387
1 parent c5acfc0 commit 6ddacb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def check_svn_import(app_configs, **kwargs):
349349
def check_api_key_in_local_settings(app_configs, **kwargs):
350350
errors = []
351351
import settings_local
352-
if settings.SERVER_MODE == 'development':
352+
if settings.SERVER_MODE == 'production':
353353
if not ( hasattr(settings_local, 'API_PUBLIC_KEY_PEM')
354354
and hasattr(settings_local, 'API_PRIVATE_KEY_PEM')):
355355
errors.append(checks.Critical(

0 commit comments

Comments
 (0)