Commit d0417248 authored by delanoe's avatar delanoe

[FIX] list of integer in the parsing.

parent 59b44322
......@@ -51,8 +51,7 @@ class HalParser(Parser):
field = doc.get(path, "NOT FOUND")
if isinstance(field, list):
#hyperdata[key] = ", ".join(field)
hyperdata[key] = str(field)
hyperdata[key] = ", ".join(map(lambda x: str(x), field))
else:
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