Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the KeyError for edited_at launch #474

Closed
wants to merge 1 commit into from
Closed

Fixes the KeyError for edited_at launch #474

wants to merge 1 commit into from

Conversation

skimave
Copy link

@skimave skimave commented Mar 12, 2024

I saw an error preventing launching toot on my GoToSocial instance:

File "/usr/lib/python3.11/site-packages/toot/tui/entities.py", line 56, in __init__ if data["edited_at"]: ^^^^^^^^^^^^^^^^^ KeyError: 'edited_at' An exception occurred, press X to view

Seeing how self.created_at was being handled, I implemented the same kind of handling to self.edited_at including the original logic which fixed the launching issue at the same go.

@ihabunek
Copy link
Owner

@skimave Thanks, but I believe that was already fixed in 4d5ac3c.
Could you check if this happens for you in current master?

@skimave
Copy link
Author

skimave commented Mar 12, 2024

@ihabunek Works as it should now

@ihabunek
Copy link
Owner

\o/

@ihabunek ihabunek closed this Mar 12, 2024
@skimave skimave deleted the fix-edited_at branch June 2, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants