Fix build error

This commit is contained in:
Arun Prakash Jana 2017-10-23 19:44:43 +05:30
parent d9be8e17f4
commit 26d5e73788
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

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