Commit d0417248 authored by delanoe's avatar delanoe

[FIX] list of integer in the parsing.

parent 59b44322
...@@ -51,8 +51,7 @@ class HalParser(Parser): ...@@ -51,8 +51,7 @@ class HalParser(Parser):
field = doc.get(path, "NOT FOUND") field = doc.get(path, "NOT FOUND")
if isinstance(field, list): if isinstance(field, list):
#hyperdata[key] = ", ".join(field) hyperdata[key] = ", ".join(map(lambda x: str(x), field))
hyperdata[key] = str(field)
else: else:
hyperdata[key] = str(field) hyperdata[key] = str(field)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment