Undo check for configured controlnet, which is optional.

This commit is contained in:
tgoff0 2015-05-22 00:53:59 +00:00
parent f6049614ab
commit baec96fac1

View file

@ -807,8 +807,7 @@ class Session(object):
return idx return idx
if idx < 4 and self.getctrlnetprefixes()[idx] is not None: if idx < 4 and self.getctrlnetprefixes()[idx] is not None:
return idx return idx
else: return -1
return -1
def getctrlnetobj(self, netidx): def getctrlnetobj(self, netidx):