# load config file
self.config.fix('CONFIG')
- with open(self['CONFIG'], 'r') as f:
- self.config.parse(f, source=self['CONFIG'], level=30)
+ self.config.parse_file(self['CONFIG'], level=30)
# fix variables
self.config.fix(['LOG', 'USER_LOG', 'VERBOSE', 'HOME', 'DEBUG_LEVEL', 'TDIR'])
# start logging