From bba66fd31b1c0f4982dd265e17f7e9a799537549 Mon Sep 17 00:00:00 2001 From: David Culley <6276049+davidculley@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:37:47 +0200 Subject: [PATCH] refactor: simplify f-string --- qt/aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 0f447bb02..f133e10f1 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -301,7 +301,7 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too iconstr = self.resourceToData(icon) else: iconstr = f"/_anki/imgs/{icon}.png" - imgelm = f"""""" + imgelm = f'' else: imgelm = "" if label or not imgelm: