From cb0e7404221b92cfb85ba2765a20342b9f69a026 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sat, 27 Jan 2018 10:25:26 -0800 Subject: [PATCH] fix error in __init__.py --- examples/pybullet/gym/pybullet_envs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/gym/pybullet_envs/__init__.py b/examples/pybullet/gym/pybullet_envs/__init__.py index d4c81d0a7..5dddff7e9 100644 --- a/examples/pybullet/gym/pybullet_envs/__init__.py +++ b/examples/pybullet/gym/pybullet_envs/__init__.py @@ -1,7 +1,7 @@ import gym from gym.envs.registration import registry, make, spec def register(id,*args,**kvargs): - if id inĀ  registry.env_specs: + if id in registry.env_specs: return else: return gym.envs.registration.register(id,*args,**kvargs)