mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
Merge pull request #1532 from cedspam/patch-1
avoid errors in some ide docs system
This commit is contained in:
commit
09ab1d9eec
@ -1,4 +1,10 @@
|
||||
from gym.envs.registration import registry, register, make, spec
|
||||
import gym
|
||||
from gym.envs.registration import registry, make, spec
|
||||
def register(id,*args,**kvargs):
|
||||
if id in registry.env_specs:
|
||||
return
|
||||
else:
|
||||
return gym.envs.registration.register(id,*args,**kvargs)
|
||||
|
||||
# ------------bullet-------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user