优化启动时报告模板下载的逻辑

Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
deveco_xdevice 2024-09-27 14:39:06 +08:00
parent 39367c9171
commit 9d95afd56b

View File

@ -101,7 +101,7 @@ def download_template_resource():
f.write(response.read())
except Exception as e:
LOG.error(f"get report template resource error, {e}")
LOG.info("Finish download report template...")
break
# check report template
if not check_report_template():
LOG.error("------" * 5)