Skip to content

Commit

Permalink
Update AssemblyReportWriter.py
Browse files Browse the repository at this point in the history
fix write_report() for zip files
  • Loading branch information
Zulko authored Jul 18, 2023
1 parent 9d9b92d commit 08d1246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,5 @@ def write_report(self, assembly_simulation, target):
assembly_simulation, report_root, error_type="warnings"
)

if target == "@memory":
if hasattr(report_root, "_close"):
return report_root._close()

0 comments on commit 08d1246

Please sign in to comment.