Commit 3b5b4623 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Optical Controller component:

- Fixed condition for selecting optical bands
parent 3f4b1673
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1268,7 +1268,7 @@ class RSA():

                if len(existing_ob) > 0:
                    #first checking if provided band id is passed
                    if preferred is not None:
                    if preferred is not None and preferred != "ANY":
                        ob_id = int(preferred)
                        if "is_active" in self.optical_bands[ob_id].keys():
                            is_active = self.optical_bands[ob_id]["is_active"]