def get_api(self, url):
# return the json version
get = None
get = self.get_api_raw(url) # this can fail by self-created error raising
if get is not None:
return json.JSONDecoder().decode( get )
else:
return None
# create a working directory and download the new files
addon_updater.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录