kyhton.kompress: move to core (with a fallback, used in promnesia)

This commit is contained in:
Dima Gerasimov 2020-10-29 01:35:43 +00:00 committed by karlicoss
parent 655b86bb0a
commit 15789a4149
9 changed files with 102 additions and 101 deletions

View file

@ -130,7 +130,7 @@ class TakeoutHTMLParser(HTMLParser):
def read_html(tpath: Path, file: str) -> Iterable[Parsed]:
from ...kython.kompress import kopen
from ...core.kompress import kopen
results: List[Parsed] = []
def cb(dt: datetime, url: Url, title: Title) -> None:
results.append((dt, url, title))