diff --git a/LCM/scripts/PerformInventory.py b/LCM/scripts/PerformInventory.py index 46983a08a..fc5406cbe 100755 --- a/LCM/scripts/PerformInventory.py +++ b/LCM/scripts/PerformInventory.py @@ -242,6 +242,7 @@ def perform_inventory(args): tempReportFileHandle = open(temp_report_path, 'w') try: + final_xml_report = final_xml_report.encode("utf-8") tempReportFileHandle.write(final_xml_report) finally: if (tempReportFileHandle):