Skip to content

Commit

Permalink
fix: Fix tag-allowed property of VirtualWire
Browse files Browse the repository at this point in the history
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
  • Loading branch information
steve-krause authored Jun 17, 2020
1 parent e859ff6 commit f02143e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandevice/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f02143e

Please sign in to comment.