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

Accept empty input to Usernotes constructor #63

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Mar 14, 2024

Part of #58 but only handles Usernotes; it's not immediately obvious how to handle empty input for SubredditConfig because the defaults for that file are scattered throughout Toolbox.

Ensures new Usernotes() and new Usernotes('') work as expected, returning valid instances with no stored notes.

@eritbh
Copy link
Member Author

eritbh commented Oct 31, 2024

i don't remember why i never merged this

@eritbh eritbh merged commit 3859e96 into main Oct 31, 2024
1 check passed
@eritbh eritbh deleted the fix/empty-input-handling branch October 31, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant