'Reads the settings from the mdt.ini file'

def read_settings(self):

    config = configparser.SafeConfigParser()
    config.read('mdt.ini')
    self.mdt_server = config.get('mdt', 'server')
    self.mdt_instance = config.get('mdt', 'instance')
    self.mdt_database = config.get('mdt', 'database')
    if config.has_option('mdt', 'user'):
        self.mdt_user = config.get('mdt', 'user')
    if config.has_option('mdt', 'password'):
        self.mdt_password = config.get('mdt', 'password')
    if config.has_option('tower', 'groupname'):
        self.mdt_groupname = config.get('tower', 'groupname')
