adapt twitter provider for public consumption

This commit is contained in:
Dima Gerasimov 2019-11-07 20:20:11 +00:00
parent 1075c9fdae
commit a6d16b9c55
2 changed files with 85 additions and 76 deletions

View file

@ -92,6 +92,7 @@ def _get_state(bfile: Path) -> Dict[Sid, SaveWithDt]:
bdt = _get_bdate(bfile)
saves = [SaveWithDt(save, bdt) for save in rexport.Model([bfile]).saved()]
# TODO FIXME remove kython?
from kython import make_dict
return make_dict(
sorted(saves, key=lambda p: p.save.created),