Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarocosta committed May 29, 2020
1 parent b2454ba commit 0c2c7b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Utils/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,8 @@ def update_node_and_call_next(new_instance, next_node, template):


def make_result(result):
response_array = "[" + result[0].encodeJSON()
response_array = "["
iterator = iter(result)
next(iterator)
for items in iterator:
response_array += ", " + items.encodeJSON()
response_array += "]"
Expand Down

0 comments on commit 0c2c7b8

Please sign in to comment.