summaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/workflow
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/vFWDT/workflow')
-rwxr-xr-xtutorials/vFWDT/workflow/workflow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorials/vFWDT/workflow/workflow.py b/tutorials/vFWDT/workflow/workflow.py
index 60545695..8703be73 100755
--- a/tutorials/vFWDT/workflow/workflow.py
+++ b/tutorials/vFWDT/workflow/workflow.py
@@ -188,7 +188,7 @@ def _get_aai_rel_link_data(data, related_to, search_key=None, match_dict=None):
response.append(
{"link": link, "d_value": dval}
)
- if len(response) == 0:
+ if response:
response.append(
{"link": None, "d_value": None}
)