Fixed a typo

This commit is contained in:
Manuel Cortez 2022-01-10 05:06:31 -06:00
parent d7afa77c49
commit 7a78accd1f
No known key found for this signature in database
GPG Key ID: 262CC30FA01B5CBF

View File

@ -264,7 +264,7 @@ class Session(base.baseSession):
returns a list with all items retrieved."""
results = []
if self.db.get(name) == None or self.db.get(name) == []:
last_id = None
since_id = None
else:
if self.settings["general"]["reverse_timelines"] == False:
since_id = self.db[name][-1].id