From ed15d67984f3f0a055755055136e9564a450b02f Mon Sep 17 00:00:00 2001 From: heewoneha Date: Sat, 2 Dec 2023 23:07:49 +0900 Subject: [PATCH] fix: raspberry rfid request error --- raspberry_pi/rfid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspberry_pi/rfid.py b/raspberry_pi/rfid.py index cb7a832..bd115f7 100644 --- a/raspberry_pi/rfid.py +++ b/raspberry_pi/rfid.py @@ -52,7 +52,7 @@ def rfid_rc522(): try: while True: id, text = reader.read() - send_rfid_post_request(id, text) + send_rfid_post_request(str(id), text) time.sleep(10) finally: