1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00

Fix style issues

This commit is contained in:
Ivan Habunek 2022-12-27 12:31:55 +01:00
parent da0df92615
commit 8ffe8d281f
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ def get_timeline_generator(app, user, args):
def timeline(app, user, args):
generator = get_timeline_generator(app, user, args)
while(True):
while True:
try:
items = next(generator)
except StopIteration:

View File

@ -236,8 +236,8 @@ class Timeline(urwid.Columns):
index = self.get_status_index(status.id)
assert self.statuses[index].id == status.id # Sanity check
del(self.statuses[index])
del(self.status_list.body[index])
del self.statuses[index]
del self.status_list.body[index]
self.refresh_status_details()