diff --git a/shimatta_kenkyusho/shimatta_kenkyusho/settings_production.py b/shimatta_kenkyusho/shimatta_kenkyusho/settings_production.py index d1e5225..43c9681 100644 --- a/shimatta_kenkyusho/shimatta_kenkyusho/settings_production.py +++ b/shimatta_kenkyusho/shimatta_kenkyusho/settings_production.py @@ -29,13 +29,13 @@ import os BASE_DIR = Path(__file__).resolve().parent.parent def get_env_value(env_variable, default=None): - try: - return os.environ[env_variable] - except KeyError: - if default is not None: + try: + return os.environ[env_variable] + except KeyError: + if default is not None: return default error_msg = 'Set the {} environment variable'.format(env_variable) - raise Exception(error_msg) + raise Exception(error_msg) # Quick-start development settings - unsuitable for production