diff --git a/macrostrat_db_insertion/server.py b/macrostrat_db_insertion/server.py index 3844241..c817eee 100644 --- a/macrostrat_db_insertion/server.py +++ b/macrostrat_db_insertion/server.py @@ -20,8 +20,6 @@ def load_config(): # Read in the environment variable env_variable_name = ENV_VAR_PREFIX + "_" + required_name env_variable_value = os.environ.get(env_variable_name) - if env_variable_value is None: - raise Exception("Environment variable " + env_variable_name + " is not set") config_values[required_name] = env_variable_value return config_values