diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 0bd34d346..9814cfe14 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -431,7 +431,7 @@ def _init_modules(args, crash_handler): except sql.SqlError as e: if e.environmental: error.handle_fatal_exc(e, args, 'Error initializing SQL', - pre_text='Error initializing SQL') + pre_text='Error initializing SQL') sys.exit(usertypes.Exit.err_init) else: raise diff --git a/qutebrowser/browser/history.py b/qutebrowser/browser/history.py index 55b4d1c2b..de9e9bb4f 100644 --- a/qutebrowser/browser/history.py +++ b/qutebrowser/browser/history.py @@ -193,9 +193,9 @@ class WebHistory(sql.SqlTable): try: self.insert({'url': self._format_url(url), - 'title': title, - 'atime': atime, - 'redirect': redirect}) + 'title': title, + 'atime': atime, + 'redirect': redirect}) if not redirect: self.completion.insert({ 'url': self._format_completion_url(url),