Fix indent

This commit is contained in:
Florian Bruhin 2017-10-10 14:59:24 +02:00
parent d6d13770a3
commit 4c1273ba0a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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),