Skip to content

Commit

Permalink
Fix filenames in video recorder.
Browse files Browse the repository at this point in the history
  • Loading branch information
danijar committed Sep 18, 2021
1 parent e36271d commit 9ba8a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crafter/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def step(self, action):

def _save(self):
filename = str(self._directory / (self._env.episode_name + '.mp4'))
imageio.mimsave(self._directory / filename, self._frames)
imageio.mimsave(filename, self._frames)


class EpisodeRecorder:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setuptools.setup(
name='crafter',
version='1.6.2',
version='1.6.3',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=pathlib.Path('README.md').read_text(),
Expand Down

0 comments on commit 9ba8a62

Please sign in to comment.