addon_updater.py 文件源码

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

项目:blender-addon-updater 作者: CGCookie 项目源码 文件源码
def get_api(self, url):
        # return the json version
        get = None
        get = self.get_raw(url)
        if get != None:
            try:
                return json.JSONDecoder().decode(get)
            except Exception as e:
                self._error = "API response has invalid JSON format"
                self._error_msg = str(e.reason)
                self._update_ready = None
                return None
        else:
            return None


    # create a working directory and download the new files
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号