From 04027ca47b644c0a9a024108ca2d36a22f364191 Mon Sep 17 00:00:00 2001 From: Reliquat Date: Mon, 14 Oct 2024 07:15:12 +0200 Subject: [PATCH] docs: fix README.md code example #254 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01a5640..436448c 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ async def main(): async for found_data in RuuviTagSensor.get_data_async(macs): print(f"MAC: {found_data[0]}") print(f"Data: {found_data[1]}") - datas.push(found_data) + datas.append(found_data) if len(datas) > 10: break