Fix event callback

This commit is contained in:
Antonin Raffin 2020-03-12 13:24:11 +01:00
parent b64873ffff
commit 765d8fc5b2

View file

@ -129,7 +129,7 @@ class EventCallback(BaseCallback):
def _on_event(self) -> bool:
if self.callback is not None:
return self.callback()
return self.callback.on_step()
return True
def _on_step(self) -> bool: