mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(chore) linting fixes
This commit is contained in:
parent
fd0b284a92
commit
3f27c7392e
2 changed files with 4 additions and 4 deletions
|
@ -53,8 +53,8 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: Optio
|
|||
config = {}
|
||||
server_settings = {}
|
||||
try:
|
||||
if os.path.exists(config_file_path):
|
||||
with open(config_file_path, 'r') as file:
|
||||
if os.path.exists(config_file_path): # type: ignore
|
||||
with open(config_file_path, 'r') as file: # type: ignore
|
||||
config = yaml.safe_load(file)
|
||||
else:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue