fix: joinning list of int toghether

The String's join function expects a list of string, sometimes this list
can be a list of int.
pull/61/head
Sami Mokaddem 2018-05-09 13:12:14 +02:00
parent 55649570bd
commit 069a6d13b3
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def handler_attribute(zmq_name, jsonobj, hasAlreadyBeenContributed=False):
if type(field) is list:
to_join = []
for subField in field:
to_join.append(getFields(jsonobj, subField))
to_join.append(str(getFields(jsonobj, subField)))
to_add = cfg.get('Dashboard', 'char_separator').join(to_join)
else:
to_add = getFields(jsonobj, field)