From: Rob C. <pyt...@ge...> - 2005-11-05 05:42:09
|
Hello, I'm having a problem with values with commas in them. I discovered list_values=False, which I use to avoid turning values into lists. That works great: c = ConfigObj(config_file, list_values=False) The problem is when I write the config file, ConfigObj adds quotes around values with commas. Should 'list_values=False' turn off that behavior, or is there another way to avoid having quotes added? It wouldn't be a big deal, but I want to include ConfigObj in an existing app and would have to change a lot of existing code. I really like ConfigObj, great work guys. I'm using it in Planet Plus[1] with CherryPy to generate web-based forms to edit config.ini's. Thanks, Rob [1] http://planetplus.python-hosting.com/ -- Rob Cakebread Gentoo Linux Developer Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x96BA679B Key fingerprint = 5E1A 57A0 0FA6 939D 3258 8369 81C5 A17B 96BA 679B |