diff --git a/daemon/core/session.py b/daemon/core/session.py index d5e74ee9..a71eeb3b 100644 --- a/daemon/core/session.py +++ b/daemon/core/session.py @@ -807,8 +807,7 @@ class Session(object): return idx if idx < 4 and self.getctrlnetprefixes()[idx] is not None: return idx - else: - return -1 + return -1 def getctrlnetobj(self, netidx):