hid should be str

This commit is contained in:
Dima Gerasimov 2019-03-14 08:00:11 +00:00
parent 71e04643a4
commit 5427abb82a

View file

@ -76,7 +76,7 @@ def get_stuff(all=True) -> Tuple[BDict, HDict]:
)
hls = j['highlights']
for h in sorted(hls, key=dkey('time')):
hid = h['highlight_id']
hid = str(h['highlight_id'])
bid = str(h['bookmark_id'])
# TODO just reference to bookmark in hightlight?
bk = all_bks[bid]