Skip to content

Commit fd8fa64

Browse files
fazledyndonn
authored andcommitted
bugfix: Replaced inappropriate is comparison with == (#2157)
1 parent 0e33bf4 commit fd8fa64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def gui(viewer, format, run_dir, stage):
6565
extra_config = {}
6666
if stage is not None:
6767
matches = glob.glob(os.path.join(run_dir, "results", stage, f"*.{format}"))
68-
if matches is []:
68+
if matches == []:
6969
err(f"No {format} found for stage {stage}")
7070
else:
7171
extra_config[f"CURRENT_{format.upper()}"] = matches[0]

0 commit comments

Comments
 (0)