mirror of
https://github.com/The-OpenROAD-Project/OpenLane.git
synced 2026-05-29 00:23:55 +08:00
bugfix: Replaced inappropriate is comparison with == (#2157)
This commit is contained in:
committed by
GitHub
parent
70581ea9d3
commit
1b3cf10884
2
gui.py
2
gui.py
@@ -66,7 +66,7 @@ def gui(viewer, format, run_dir, stage):
|
||||
extra_config = {}
|
||||
if stage is not None:
|
||||
matches = glob.glob(os.path.join(run_dir, "results", stage, f"*.{format}"))
|
||||
if matches is []:
|
||||
if matches == []:
|
||||
err(f"No {format} found for stage {stage}")
|
||||
else:
|
||||
extra_config[f"CURRENT_{format.upper()}"] = matches[0]
|
||||
|
||||
Reference in New Issue
Block a user