From 7099b6ea49829460ee334bb36530f7337269ecd6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 26 Jun 2021 08:39:16 +1000 Subject: [PATCH] revert to % format string to avoid breaking add-on partially reverts d8c3e7110585c4975162c548524893022d94bbe3 https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/50 --- qt/aqt/editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index f48f3c83b..244ee67b5 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -80,7 +80,7 @@ audio = ( _html = """
- {} + %s
""" @@ -131,7 +131,7 @@ class Editor: # then load page self.web.stdHtml( - _html.format(tr.editing_show_duplicates()), + _html % tr.editing_show_duplicates(), css=[ "css/editor.css", ],