def check_update(self):
"""
Check if new update is available
"""
try:
config = ConfigParser()
config.read('/sdcard/.mobileinsight.ini')
bcheck_update = config.get("mi_general", "bcheck_update")
if bcheck_update == "1":
import check_update
check_update.check_update()
except Exception as e:
Logger.exception(traceback.format_exc())
评论列表
文章目录