From f02143e5012c723028c3c0eb997047ade9b10163 Mon Sep 17 00:00:00 2001 From: Steve Krause Date: Wed, 17 Jun 2020 18:04:57 -0400 Subject: [PATCH] fix: Fix tag-allowed property of VirtualWire tag-allowed property can take an int or range of ints (5-10), but it was failing when using a range. This change makes the parameter a string instead of an int so ranges are acceptable. PR #232 Fixes #221 --- pandevice/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandevice/network.py b/pandevice/network.py index 8711b7b8..9d900b97 100644 --- a/pandevice/network.py +++ b/pandevice/network.py @@ -637,7 +637,7 @@ def _setup(self): # params params = [] - params.append(VersionedParamPath("tag", path="tag-allowed", vartype="int")) + params.append(VersionedParamPath("tag", path="tag-allowed")) params.append(VersionedParamPath("interface1", path="interface1")) params.append(VersionedParamPath("interface2", path="interface2")) params.append(