mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-19 22:17:00 +08:00
bugfix: LoopControl return type
This commit is contained in:
parent
7cde7443b0
commit
d60b306766
@ -17,7 +17,11 @@ class LoopControl:
|
|||||||
else:
|
else:
|
||||||
current = kwargs['loopback_input']
|
current = kwargs['loopback_input']
|
||||||
|
|
||||||
return (kwargs['loop_condition'].get_next(kwargs['initial_input'], current), )
|
result = kwargs['loop_condition'].get_next(kwargs['initial_input'], current)
|
||||||
|
if result is None:
|
||||||
|
return None
|
||||||
|
else:
|
||||||
|
return (result, )
|
||||||
|
|
||||||
|
|
||||||
class CounterCondition:
|
class CounterCondition:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user