def update():
"""This is a shortcut to update the addons server and the main server,
in that order.
"""
subprocess.check_call([settings.APP_NAME, 'addons', 'update'])
subprocess.check_call([settings.APP_NAME, 'main', 'update'])
评论列表
文章目录