From a6ccae95b6ef5259af951c5a350656d3c334930b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 24 Jan 2018 21:07:06 +1000 Subject: [PATCH] remove missed format literals --- aqt/editor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aqt/editor.py b/aqt/editor.py index 405716a7b..a97c31511 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -81,15 +81,15 @@ class Editor: righttopbtns.append(self._addButton('text_clear', 'clear', _("Remove formatting (Ctrl+R)"))) # The color selection buttons do not use an icon so the HTML must be specified manually tip = _("Set foreground colour (F7)") - righttopbtns.append(f'''''') + class=topbut>'''.format(tip)) tip = _("Change colour (F8)") - righttopbtns.append(f'''''') + class="topbut rainbow">'''.format(tip)) righttopbtns.append(self._addButton('text_cloze', 'cloze', _("Cloze deletion (Ctrl+Shift+C)"))) righttopbtns.append(self._addButton('paperclip', 'attach', _("Attach pictures/audio/video (F3)"))) righttopbtns.append(self._addButton('media-record', 'record', _("Record audio (F5)")))