explicit "return None"

This commit is contained in:
Jörn-Michael Miehe 2022-04-06 00:34:53 +00:00
parent 423cc009f8
commit 3487c2e0f1

View file

@ -255,7 +255,7 @@ class Config(BaseModel):
cls.__instance = cls.parse_obj(json.load(config_file))
except FileNotFoundError:
pass
return None
return cls.__instance