magicmirrorplatform.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:AlexaPi 作者: alexa-pi 项目源码 文件源码
def update_mm(self, status):
        address = ("http://" + self.mm_host + ":" + self.mm_port + "/alexapi?action=AVSSTATUS&status=" + status)

        logger.debug("Calling URL: %s", address)

        try:
            response = urlopen(address).read()
        except URLError as err:
            logger.error("URLError: %s", err.reason)
            return

        logger.debug("Response: %s", response)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号