Minor fix

This commit is contained in:
Marek Wolan
2024-01-11 14:49:36 +00:00
parent 63b9bc5bc6
commit ed5591caf8
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ class FileObservation(AbstractObservation):
file_state = access_from_nested_dict(state, self.where)
if file_state is NOT_PRESENT_IN_STATE:
return self.default_observation
return {"health_status": file_state["health_status"]}
return {"health_status": file_state["visible_status"]}
@property
def space(self) -> spaces.Space: