From 069a6d13b34c128cab434860a4c737178d8c8094 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Wed, 9 May 2018 13:12:14 +0200 Subject: [PATCH] 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. --- zmq_dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq_dispatcher.py b/zmq_dispatcher.py index 0f1f137..e2a9bb7 100755 --- a/zmq_dispatcher.py +++ b/zmq_dispatcher.py @@ -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)