Skip to content

Commit b30465c

Browse files
authored
OAProc: test hello-world process evaluation of None and empty dict (#1714)
1 parent f6c33d7 commit b30465c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/process/hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def execute(self, data, outputs=None):
130130
value = f'Hello {name}! {message}'.strip()
131131

132132
produced_outputs = {}
133-
if outputs is None or 'echo' in outputs:
133+
if not bool(outputs) or 'echo' in outputs:
134134
produced_outputs = {
135135
'id': 'echo',
136136
'value': value

0 commit comments

Comments
 (0)