mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-16 17:20:51 +08:00
bugfix: LoopControl return type
This commit is contained in:
parent
7cde7443b0
commit
d60b306766
@ -17,7 +17,11 @@ class LoopControl:
|
||||
else:
|
||||
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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user