Skip to content

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Dec 27, 2022
1 parent da0df92 commit 8ffe8d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion toot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions toot/tui/timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ def remove_status(self, status):
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()


Expand Down

0 comments on commit 8ffe8d2

Please sign in to comment.