Skip to content

Commit

Permalink
Fix indent level in video recorder
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmolinare committed Jan 8, 2021
1 parent 2c50315 commit 225322d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/wrappers/monitoring/video_recorder.py
Expand Up @@ -300,7 +300,7 @@ def capture_frame(self, frame):
if frame.dtype != np.uint8:
raise error.InvalidFrame("Your frame has data type {}, but we require uint8 (i.e. RGB values from 0-255).".format(frame.dtype))

self.proc.stdin.write(frame.tobytes())
self.proc.stdin.write(frame.tobytes())

def close(self):
self.proc.stdin.close()
Expand Down

0 comments on commit 225322d

Please sign in to comment.