minor
This commit is contained in:
parent
8c746be358
commit
d83552e7db
1 changed files with 3 additions and 2 deletions
|
@ -91,9 +91,10 @@ def tweets_all() -> List[Tweet]:
|
||||||
res: List[Tweet] = []
|
res: List[Tweet] = []
|
||||||
for tid in keys:
|
for tid in keys:
|
||||||
if tid in tjson:
|
if tid in tjson:
|
||||||
res.append(tjson[tid])
|
tw = tjson[tid]
|
||||||
else:
|
else:
|
||||||
res.append(tdump[tid])
|
tw = tdump[tid]
|
||||||
|
res.append(tw)
|
||||||
res.sort(key=lambda t: t.dt)
|
res.sort(key=lambda t: t.dt)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue