def load(self):
    try:
        credentials = dict((line.strip().split('=') for line in open(self.credentials_file)))
        self.client_id = credentials['client_id']
        self.client_secret = credentials['client_secret']
        return True
    except Exception as e:
        return False
def load(self):
    try:
        credentials = dict((line.strip().split('=') for line in open(self.credentials_file)))
        self.client_id = credentials['client_id']
        self.client_secret = credentials['client_secret']
        return True
    except Exception as e:
        return False