Project

Profile

Help

Revision 96664dff

Added by Vincent Le Goff about 3 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