diff --git a/awx/plugins/library/scan_insights.py b/awx/plugins/library/scan_insights.py index 2e759a28cb..917b81bc86 100755 --- a/awx/plugins/library/scan_insights.py +++ b/awx/plugins/library/scan_insights.py @@ -41,6 +41,8 @@ def get_system_id(filname): pass finally: f.close() + if system_id: + system_id = system_id.strip() return system_id