rname field
This commit is contained in:
parent
d76ba4e77f
commit
5b914fab6c
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ Cid = str
|
||||||
class Comment(NamedTuple):
|
class Comment(NamedTuple):
|
||||||
cid: Cid
|
cid: Cid
|
||||||
created: datetime
|
created: datetime
|
||||||
comment: str
|
text: str
|
||||||
|
|
||||||
Hid = str
|
Hid = str
|
||||||
class Highlight(NamedTuple):
|
class Highlight(NamedTuple):
|
||||||
|
@ -108,7 +108,7 @@ class Loader:
|
||||||
ccs.append(Comment(
|
ccs.append(Comment(
|
||||||
cid=cid.value,
|
cid=cid.value,
|
||||||
created=parse_dt(crt.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()
|
v.consume()
|
||||||
for h in list(highlights.values()):
|
for h in list(highlights.values()):
|
||||||
|
|
Loading…
Add table
Reference in a new issue