forked from tangger/lerobot
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -700,7 +700,7 @@ class KeyboardInterfaceWrapper(gym.Wrapper):
|
||||
Reset the environment and clear any pending events
|
||||
"""
|
||||
with self.event_lock:
|
||||
self.events = {k: False for k in self.events}
|
||||
self.events = dict.fromkeys(self.events, False)
|
||||
return self.env.reset(**kwargs)
|
||||
|
||||
def close(self):
|
||||
|
||||
Reference in New Issue
Block a user