diff options
author | xTITUSMAXIMUSX <chad@chadhigh.com> | 2024-03-01 17:37:12 -0600 |
---|---|---|
committer | xTITUSMAXIMUSX <chad@chadhigh.com> | 2024-03-01 17:37:12 -0600 |
commit | 975aca44486295b452b125e4119dcfcaa92845ed (patch) | |
tree | 27a6c8dc6d9e2f656f94892e68b477b27d961014 | |
parent | b58cf4db2f41df5a71b56fde5a0901d7a6a3835c (diff) | |
download | pyvyos-975aca44486295b452b125e4119dcfcaa92845ed.tar.gz pyvyos-975aca44486295b452b125e4119dcfcaa92845ed.zip |
update elif
-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: |