@property
    def access_token(self):
        '''Gets the access token.'''
        # check the access token
        if self.__access_token and self.__token_expires_at:
            if 60 > self.__token_expires_at - time.time():
                return self.__access_token

        # if access token is invaild, grant it.
        self._grant_access_token()
        return self.__access_token
dataset/ETHPy150Open OctavianLee/Pywechat/pywechat/services/basic.py/Basic.access_token/swapped operands of `>`