From 1dcb58bdabcc294df0a14100cb8090a395be2ba3 Mon Sep 17 00:00:00 2001 From: David Culley <6276049+davidculley@users.noreply.github.com> Date: Wed, 10 Jul 2024 19:18:38 +0200 Subject: [PATCH] refactor: use 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 674b09274..1942f908d 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -321,7 +321,7 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too class_attribute = "linkb" if rightside else "rounded" if not disables: - class_attribute += " perm" + class_attribute = f"{class_attribute} perm" return f"""