Don't comment toml tables in generate_config (#2314)

This commit is contained in:
cryptocode 2019-09-25 14:29:41 +02:00 committed by GitHub
commit 68cde25c03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,7 @@ public:
std::string line;
while (std::getline (ss, line, '\n'))
{
if (!line.empty () && line[0] != '#')
if (!line.empty () && line[0] != '#' && line[0] != '[')
{
line = "#" + line;
}