From baec96fac1dff1226a1ec821e1219457b1cb13e4 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Fri, 22 May 2015 00:53:59 +0000 Subject: [PATCH] Undo check for configured controlnet, which is optional. --- daemon/core/session.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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):