From 06eb3bf0521e7796c5d12ee710bafc21f3238053 Mon Sep 17 00:00:00 2001 From: dongjiao Date: Tue, 3 Sep 2024 03:48:58 +0800 Subject: [PATCH] add hotspotInfo report --- kyreport/ky_report.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kyreport/ky_report.py b/kyreport/ky_report.py index 362d924..60d847a 100644 --- a/kyreport/ky_report.py +++ b/kyreport/ky_report.py @@ -83,4 +83,7 @@ class KyReport: info['sys_param'] = self.build_info(Config.get_output_path() + 'sysParamInfo.txt') if os.path.exists(Config.get_output_path() + 'systemMessage.txt'): info['sys_msg'] = self.build_info(Config.get_output_path() + 'systemMessage.txt') + if os.path.exists(Config.get_output_path() + 'hotspotInfo.txt'): + if os.path.getsize(Config.get_output_path() + 'hotspotInfo.txt'): + info['hotspot_info'] = self.build_info(Config.get_output_path() + 'hotspotInfo.txt') -- Gitee