diff --git a/api/kiwi_vpn_api/config.py b/api/kiwi_vpn_api/config.py index 11d6136..7a6645d 100644 --- a/api/kiwi_vpn_api/config.py +++ b/api/kiwi_vpn_api/config.py @@ -255,7 +255,7 @@ class Config(BaseModel): cls.__instance = cls.parse_obj(json.load(config_file)) except FileNotFoundError: - pass + return None return cls.__instance