Skip to content

Commit

Permalink
Fix pre-commit (Farama-Foundation#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjshoots authored Mar 10, 2023
1 parent 18ee2a7 commit 66ebabf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pettingzoo/mpe/_mpe_utils/simple_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ def render(self):
elif self.render_mode == "human":
pygame.display.flip()
return


def draw(self):
# clear screen
Expand Down
2 changes: 1 addition & 1 deletion pettingzoo/utils/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class my_par_class(pettingzoo.utils.env.ParallelEnv):

def aec_fn(**kwargs):
par_env = par_env_fn(**kwargs)
aec_env = pettingzoo.utils.parallel_to_aec(par_env)
aec_env = parallel_to_aec(par_env)
return aec_env

return aec_fn
Expand Down

0 comments on commit 66ebabf

Please sign in to comment.