From 347c87a154345ae6c254090e45e4ebd716d24719 Mon Sep 17 00:00:00 2001 From: barry Date: Wed, 15 Jan 2025 19:05:55 +0100 Subject: [PATCH] fix date --- spotiplayer_pi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotiplayer_pi/main.py b/spotiplayer_pi/main.py index e05ef8f..e1625dc 100644 --- a/spotiplayer_pi/main.py +++ b/spotiplayer_pi/main.py @@ -94,7 +94,7 @@ def display_loop(api: Api, cfg: Dict): elif data == "not-playing": draw = ImageDraw.Draw(not_playing_img) - current_time = datetime.now().time() + current_time = datetime.now() draw.rectangle([(00, 120), (119, 190)], fill=(0, 0, 0)) offset = 10 if current_time.hour < 9 else 0 draw.text(