diff --git a/qutebrowser/browser/history.py b/qutebrowser/browser/history.py index 81d1fb2f9..3b4b0e362 100644 --- a/qutebrowser/browser/history.py +++ b/qutebrowser/browser/history.py @@ -341,7 +341,7 @@ class WebHistory(sql.SqlTable): f.write('\n'.join(lines)) message.info("Dumped history to {}".format(dest)) except OSError as e: - raise cmdexc.CommandError('Could not write history: {}', e) + raise cmdexc.CommandError('Could not write history: {}'.format(e)) def init(parent=None):