diff --git a/renumics/spotlight/viewer.py b/renumics/spotlight/viewer.py index 817f31b2..2e6aa59d 100644 --- a/renumics/spotlight/viewer.py +++ b/renumics/spotlight/viewer.py @@ -360,8 +360,8 @@ def show( viewer = None if port != "auto": # reuse viewer with the same port if specified - for index, viewer in enumerate(_VIEWERS): - if viewer.port == port: + for index, viewer_ in enumerate(_VIEWERS): + if viewer_.port == port: viewer = _VIEWERS[index] break if not viewer: