If empty continue

It’s just kind of a dumb thing that Dynamo has trouble with. Your best bet is to use a simple Python script to do it for you.

list = IN[0]
replace = IN[1]
out = []

for l in list:
	if l == []:
		out.append(replace)
	else:
		out.append(l)

OUT = out