diff --git a/README.md b/README.md
index fdc46c5..516b0e3 100644
--- a/README.md
+++ b/README.md
@@ -2292,7 +2292,8 @@ async def main_coroutine(screen):
async def random_controller(id_, moves):
while True:
- moves.put_nowait((id_, random.choice(list(D))))
+ move = id_, random.choice(list(D))
+ moves.put_nowait(move)
await asyncio.sleep(random.random() / 2)
async def human_controller(screen, moves):
diff --git a/index.html b/index.html
index c72c529..ccdec7e 100644
--- a/index.html
+++ b/index.html
@@ -2015,7 +2015,8 @@ D = enum.Enum('D', 'n
async def random_controller(id_, moves):
while True:
- moves.put_nowait((id_, random.choice(list(D))))
+ move = id_, random.choice(list(D))
+ moves.put_nowait(move)
await asyncio.sleep(random.random() / 2)
async def human_controller(screen, moves):