Update env_bases.py

This commit is contained in:
erwincoumans
2018-04-02 22:31:22 -07:00
committed by GitHub
parent 507d024f25
commit 5ff2a1d6c8

View File

@@ -70,7 +70,7 @@ class MJCFBaseBulletEnv(gym.Env):
self.potential = self.robot.calc_potential()
return s
def _render(self, mode, close):
def _render(self, mode, close=False):
if (mode=="human"):
self.isRender = True
if mode != "rgb_array":