aboutsummaryrefslogtreecommitdiff
path: root/src/ee/project
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/project')
-rw-r--r--src/ee/project/__init__.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ee/project/__init__.py b/src/ee/project/__init__.py
index a1f042f..5943a7c 100644
--- a/src/ee/project/__init__.py
+++ b/src/ee/project/__init__.py
@@ -6,8 +6,11 @@ def load_config(project_dir: Path) -> configparser.ConfigParser:
config = configparser.ConfigParser()
config_path = project_dir / ".ee" / "config"
- with config_path.open("r") as f:
- config.read_file(f, source=str(config_path))
+ try:
+ with config_path.open("r") as f:
+ config.read_file(f, source=str(config_path))
+ except FileNotFoundError:
+ pass
return config