From 3487c2e0f125ae13dc4dfb2575805272f4e6f72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Wed, 6 Apr 2022 00:34:53 +0000 Subject: [PATCH] explicit "return None" --- api/kiwi_vpn_api/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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