Skip to content

Commit

Permalink
OAProc: test hello-world process evaluation of None and empty dict (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Jul 6, 2024
1 parent f6c33d7 commit b30465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/process/hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def execute(self, data, outputs=None):
value = f'Hello {name}! {message}'.strip()

produced_outputs = {}
if outputs is None or 'echo' in outputs:
if not bool(outputs) or 'echo' in outputs:
produced_outputs = {
'id': 'echo',
'value': value
Expand Down

0 comments on commit b30465c

Please sign in to comment.