From a017316cbd541f2751ae6bf0a83b20cd67de8090 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Wed, 6 Feb 2019 23:53:49 +0000 Subject: [PATCH] rename hid to uid --- instapaper/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instapaper/__init__.py b/instapaper/__init__.py index e40cd44..f800477 100644 --- a/instapaper/__init__.py +++ b/instapaper/__init__.py @@ -8,7 +8,7 @@ BDIR = Path('/L/backups/instapaper/') class Highlight(NamedTuple): dt: datetime - hid: str + uid: str text: str note: Optional[str] url: str @@ -46,7 +46,7 @@ def iter_highlights(): bk = bks[bid] dt = pytz.utc.localize(datetime.utcfromtimestamp(h['time'])) yield Highlight( - hid=str(h['highlight_id']), + uid=str(h['highlight_id']), dt=dt, text=h['text'], note=h['note'],