Fix build error
This commit is contained in:
parent
d9be8e17f4
commit
26d5e73788
6
buku.py
6
buku.py
@ -1574,7 +1574,8 @@ class BukuDb:
|
|||||||
for index in tagset:
|
for index in tagset:
|
||||||
try:
|
try:
|
||||||
tags.append(delim_wrap(unique_tags[int(index) - 1]))
|
tags.append(delim_wrap(unique_tags[int(index) - 1]))
|
||||||
except:
|
except Exception as e:
|
||||||
|
logerr(e)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
return parse_tags(tags)
|
return parse_tags(tags)
|
||||||
@ -1724,7 +1725,8 @@ class BukuDb:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
self.conn.commit()
|
self.conn.commit()
|
||||||
except:
|
except Exception as e:
|
||||||
|
logerr(e)
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
return update_count
|
return update_count
|
||||||
|
Loading…
Reference in New Issue
Block a user