More informative exception message, typo fix
This commit is contained in:
parent
e645784748
commit
8c91a8ca7e
6
buku.py
6
buku.py
@ -2027,7 +2027,7 @@ class BukuDb:
|
|||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
bookmarks : dict
|
bookmarks : dict
|
||||||
Dictionary holding Google Chroom bookmarks data.
|
Dictionary holding Google Chrome bookmarks data.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
with open(path, 'r') as datafile:
|
with open(path, 'r') as datafile:
|
||||||
@ -2092,7 +2092,7 @@ class BukuDb:
|
|||||||
cur.close()
|
cur.close()
|
||||||
conn.close()
|
conn.close()
|
||||||
except Exception:
|
except Exception:
|
||||||
print('Error here')
|
print('Error in load_firefox_database()')
|
||||||
|
|
||||||
def auto_import_from_browser(self):
|
def auto_import_from_browser(self):
|
||||||
"""Import bookmarks from a browser default database file.
|
"""Import bookmarks from a browser default database file.
|
||||||
@ -2820,7 +2820,7 @@ def prep_tag_search(tags):
|
|||||||
|
|
||||||
|
|
||||||
def gen_auto_tag():
|
def gen_auto_tag():
|
||||||
"""Generate a tag in Year-Month-Date format
|
"""Generate a tag in Year-Month-Date format.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
|
Loading…
Reference in New Issue
Block a user