mirror of
https://github.com/ihabunek/toot
synced 2024-12-23 15:37:47 +01:00
Fix style issues
This commit is contained in:
parent
da0df92615
commit
8ffe8d281f
@ -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:
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user