From 23ad65ae6b609c96de230e4fc05a35ef7fde0fd8 Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 12 Apr 2024 18:42:03 +0200 Subject: [PATCH] test --- oled.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oled.py b/oled.py index 35ddbf2..6150bf2 100644 --- a/oled.py +++ b/oled.py @@ -21,6 +21,6 @@ def balance(user_name, balance): with canvas(device) as draw: #draw.rectangle(device.bounding_box, outline="white", fill="black") - draw.text(user_id_position, "1", fill="white", font=user_id_font) - draw.text(name_position, "Test", fill="white", font=name_font) + draw.text(user_id_position, "1", fill="white", font=(user_id_font)) + draw.text(name_position, "Test", fill="white", font=(name_font)) time.sleep(10)