Project

Profile

Help

Revision 96664dff

ID96664dff3695703aef396244b8f6fd34b5c46854
Parent 4102863f
Child ebe2010d

Added by Vincent Le Goff over 2 years ago

Fix the bug, but doesn't handle well other encodings yet

View differences:

src/config.py
142 142
                os.mkdir(base)
143 143

  
144 144
        # Create the ConfigObj
145
        config = ConfigObj(fullpath + ".conf", configspec=spec.split("\n"))
145
        config = ConfigObj(fullpath + ".conf", encoding="latin-1",
146
                configspec=spec.split("\n"))
146 147

  
147 148
        # Validates the configuration
148 149
        validator = Validator()

Also available in: Unified diff