(self)
Reads configuration parameters from file.
Reads configuration parameters from file.
Reads configuration parameters from file .
def ReadConfig(self):
    """Reads configuration parameters from file."""
    f = open(os.path.join(os.getcwd(), 'chi.config'), 'r')
    config = f.readlines()
    for line in config:
      self.config_info[line.split('=')[0]] = line.split('=')[1].strip()
    f.close()
def ReadConfig ( self ) : f = open ( os . path . join ( os . getcwd ( ) , 'chi.config' ) , 'r' ) config = f . readlines ( ) for line in config : self . config_info [ line . split ( '=' ) [ 0 ] ] = line . split ( '=' ) [ 1 ] . strip ( ) f . close ( )