Skip to content

Commit 416e251

Browse files
committed
py2 fix?
1 parent 00d3c2b commit 416e251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def validate_output_spec(output, output_spec, Output):
125125
for outi, speci in zip(output, output_spec):
126126
speci_list = speci if isinstance(speci, (list, tuple)) else [speci]
127127
for specij in speci_list:
128-
if Output(specij["id"], specij["property"]) != outi:
128+
if not Output(specij["id"], specij["property"]) == outi:
129129
raise exceptions.CallbackException(
130130
"Output does not match callback definition"
131131
)

0 commit comments

Comments
 (0)