From 7d3b284b47f5037caec715ec49e7c3d5454d73e4 Mon Sep 17 00:00:00 2001 From: Victor Pavlushin <41314137+VictorPavlushin@users.noreply.github.com> Date: Fri, 14 Dec 2018 12:58:11 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A1ertain=20sequence=20vlan=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If you transfer for example 2 vlans with id 45 and 46, and then change to 4 and 546 then diff will not dispel the change. The result in both cases will be 4546. --- pynetbox/core/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynetbox/core/response.py b/pynetbox/core/response.py index b1a517c2..67fb2c6e 100644 --- a/pynetbox/core/response.py +++ b/pynetbox/core/response.py @@ -330,7 +330,7 @@ def fmt_dict(k, v): if isinstance(v, dict): return k, Hashabledict(v) if isinstance(v, list): - return k, "".join(map(str, v)) + return k, ",".join(map(str, v)) return k, v current = Hashabledict(