Skip to content

Commit 24d0ff8

Browse files
committed
addef missing return
1 parent 255cef6 commit 24d0ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngcsimlib/compilers/process_compiler/component_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def __make_get_arg(a):
66
return lambda current_state, **kwargs: kwargs.get(a, None)
77

88
def __make_get_param(p, component):
9-
lambda current_state, **kwargs: component.__dict__.get(p, None)
9+
return lambda current_state, **kwargs: component.__dict__.get(p, None)
1010

1111
def __make_get_comp(c, component):
1212
return lambda current_state, **kwargs: current_state.get(component.__dict__[c].path, None)

0 commit comments

Comments
 (0)