diff --git a/space2stats_api/app/settings.py b/space2stats_api/app/settings.py index bbf4f2e..a08cf13 100644 --- a/space2stats_api/app/settings.py +++ b/space2stats_api/app/settings.py @@ -7,7 +7,7 @@ env_file_name = 'local_db.env' if os.path.basename(current_directory) == "space2stats_api": - env_path = os.path.join(current_directory, env_file_name) + env_path = os.path.join(current_directory, '..', env_file_name) else: env_path = os.path.join(current_directory, env_file_name)