From 1b311af5d92e8c34e938b6b317303b55a26f8e62 Mon Sep 17 00:00:00 2001 From: thirdr Date: Wed, 8 Jan 2025 09:35:27 +0000 Subject: [PATCH] info.py: change to f-string --- badger_os/examples/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badger_os/examples/info.py b/badger_os/examples/info.py index 721ade1..e4644a8 100644 --- a/badger_os/examples/info.py +++ b/badger_os/examples/info.py @@ -41,7 +41,7 @@ y += LINE_HEIGHT display.text("https://pimoroni.com/badger2040", 5, y, WIDTH, TEXT_SIZE) y += LINE_HEIGHT -display.text("Badger OS " + version, 5, y, WIDTH, TEXT_SIZE) +display.text(f"Badger OS {version}", 5, y, WIDTH, TEXT_SIZE) display.update()