Menu

#46 Handle multiple entries with the same name

open
nobody
INI (26)
5
2007-11-25
2007-11-25
Anonymous
No

I've noticed that Nini "corrupts" .ini files if they have the same entry with the same name multiple times.
For example the section

[Logging]
LogFile=MyLogfile.txt
LogFile=Crashdump.log

will result in

[Logging]
LogFile=MyLogfile.txt

when changing the file with Nini.

I'm aware that you have an other solution for multiple values per key, but unfortunately the program which will finally interpret the .ini file I want to manipulate isn't written by me.

qwerasdfyxcv (àt) spambob (dót) net

Discussion


Log in to post a comment.