From 5b914fab6c0ef961b3ec97e5da36b652e1a6f26e Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sat, 4 May 2019 00:59:57 +0100 Subject: [PATCH] rname field --- reading/polar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reading/polar.py b/reading/polar.py index 3461e04..50034d8 100755 --- a/reading/polar.py +++ b/reading/polar.py @@ -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()):