rname field

This commit is contained in:
Dima Gerasimov 2019-05-04 00:59:57 +01:00
parent d76ba4e77f
commit 5b914fab6c

View file

@ -37,7 +37,7 @@ Cid = str
class Comment(NamedTuple):
cid: Cid
created: datetime
comment: str
text: str
Hid = str
class Highlight(NamedTuple):
@ -108,7 +108,7 @@ class Loader:
ccs.append(Comment(
cid=cid.value,
created=parse_dt(crt.value),
comment=html.value, # TODO perhaps coonvert from html to text or org?
text=html.value, # TODO perhaps coonvert from html to text or org?
))
v.consume()
for h in list(highlights.values()):