diff options
Diffstat (limited to 'pyvyos/device.py')
-rw-r--r-- | pyvyos/device.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyvyos/device.py b/pyvyos/device.py index 0d1dad9..5df85df 100644 --- a/pyvyos/device.py +++ b/pyvyos/device.py @@ -125,8 +125,8 @@ class VyDevice: } return payload - - if isinstance(path, list) and len(path) == 1: + + elif isinstance(path, list) and len(path) == 1: # If path is a list and contains only one element, use it directly data = {'op': op, 'path': path[0]} else: |