-
Notifications
You must be signed in to change notification settings - Fork 84
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
Config update removes comments #86
Comments
That’s basically the default behaviour of Python’s configparser module. I don’t see a way to change that, without having to write additional code. So as it stands: Don’t except comments to survive in twtxt’s config file. 👻 But maybe someone else knows a way? |
I had a quick look at the |
@timofurrer Yes, that’s what I was thinking about as well. So best solution seems to be mentioning it somewhere in the docs that comments aren't preserved. |
Yeah, I can make this change. |
@timofurrer Thanks! |
After eg. the follow command, the config gets rewritten and all comments are lost. In my case it was a commented out value of a variable when I did a quick-test of different value.
Would be good to preserve the comments or document that they could get removed.
The text was updated successfully, but these errors were encountered: