Skip to content

Commit

Permalink
return default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Feb 18, 2025
1 parent 7edbe8c commit 7e6a8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/storage/settings/file_settings_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def load(self) -> Settings | None:
settings = Settings(**kwargs)
return settings
except FileNotFoundError:
return None
return Settings()

async def store(self, settings: Settings):
json_str = settings.model_dump_json(context={'expose_secrets': True})
Expand Down

0 comments on commit 7e6a8cc

Please sign in to comment.