Skip to content

Commit

Permalink
Fix missing await in change avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
hsahovic committed Jan 26, 2020
1 parent 00eb8e4 commit 82e66c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poke_env/player/player_network_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async def _log_in(self, split_message: List[str]) -> None:

await self._send_message(f"/trn {self._username},0,{assertion}")

self._change_avatar(self._avatar)
await self._change_avatar(self._avatar)

async def _send_message(
self, message: str, room: str = "", message_2: Optional[str] = None
Expand Down

0 comments on commit 82e66c6

Please sign in to comment.