diff --git a/aqt/deckbrowser.py b/aqt/deckbrowser.py
index 5a1463d12..aac62f187 100644
--- a/aqt/deckbrowser.py
+++ b/aqt/deckbrowser.py
@@ -117,9 +117,9 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
return ""
return "
")))
@@ -166,7 +166,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
buf = "" % (klass, did)
# deck link
if children:
- collapse = "%s" % (did, prefix)
+ collapse = "%s" % (did, prefix)
else:
collapse = ""
if deck['dyn']:
@@ -189,7 +189,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
nonzeroColour(due, "#007700"),
nonzeroColour(new, "#000099"))
# options
- buf += ("| "
+ buf += (" | "
" |
" % did)
# children
buf += self._renderDeckTree(children, depth+1)
diff --git a/aqt/toolbar.py b/aqt/toolbar.py
index 4112ad84f..6c7942d82 100644
--- a/aqt/toolbar.py
+++ b/aqt/toolbar.py
@@ -43,7 +43,7 @@ class Toolbar:
buf = ""
for ln, name, title in links:
buf += '''
- %s''' % (
+ %s''' % (
name, title, ln, name)
return buf