From 49b421c213cc84121ee174ab31cf593437edd718 Mon Sep 17 00:00:00 2001 From: Lloyd Dakin Date: Thu, 29 Aug 2024 19:36:49 -0700 Subject: [PATCH] remove exit() call on missing token so tests can run in gh action --- datalab/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/datalab/settings.py b/datalab/settings.py index 1837673..15566ff 100644 --- a/datalab/settings.py +++ b/datalab/settings.py @@ -139,7 +139,6 @@ def get_list_from_env(variable, default=None): ARCHIVE_API_TOKEN = os.getenv('ARCHIVE_API_TOKEN') if not ARCHIVE_API_TOKEN: print("WARNING: ARCHIVE_API_TOKEN is missing from the environment.") - exit() # Database # https://docs.djangoproject.com/en/4.2/ref/settings/#databases