Skip to content

Commit

Permalink
switched screenshot from a propert too a method
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultLSDC committed Jun 4, 2024
1 parent c9f7d4f commit af00b24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion experiments/src/browsergym/experiments/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ def get_screenshot(self, step: int, som=False) -> Image:
self._screenshots[key] = Image.open(self.exp_dir / file_name)
return self._screenshots[key]

@property
def screenshots(self, som=False):
files = list(self.exp_dir.glob("screenshot_step_*.jpg"))
for file in files:
Expand Down

0 comments on commit af00b24

Please sign in to comment.