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)) cls.__instance = cls.parse_obj(json.load(config_file))
except FileNotFoundError: except FileNotFoundError:
pass return None
return cls.__instance return cls.__instance