Skip to content

Commit 62fb804

Browse files
committed
final: save images if GUI is enabled
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 6bb4f35 commit 62fb804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scripts/final_report.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ report_cell_usage
6666
report_metrics 6 "finish"
6767

6868
# Save a final image if openroad is compiled with the gui
69-
if {[expr [llength [info procs save_image]] > 0]} {
69+
if {[gui::enabled] && [expr [llength [info procs save_image]] > 0]} {
7070
gui::show "source $::env(SCRIPTS_DIR)/save_images.tcl" false
7171
}

0 commit comments

Comments
 (0)