explicit "return None"
This commit is contained in:
parent
423cc009f8
commit
3487c2e0f1
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class Config(BaseModel):
|
|||
cls.__instance = cls.parse_obj(json.load(config_file))
|
||||
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
return None
|
||||
|
||||
return cls.__instance
|
||||
|
||||
|
|
Loading…
Reference in a new issue