summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxTITUSMAXIMUSX <chad@chadhigh.com>2024-03-01 16:00:19 -0600
committerxTITUSMAXIMUSX <chad@chadhigh.com>2024-03-01 16:00:19 -0600
commit3edba0df5b073ddfbce291a5cddcf67a5fb254fd (patch)
tree3d05806bfead5192ff9f0e6c1eba3d67216fba68
parentcfc3b59a543b030c7ef242a5fa67f6a8706d0e5e (diff)
downloadpyvyos-3edba0df5b073ddfbce291a5cddcf67a5fb254fd.tar.gz
pyvyos-3edba0df5b073ddfbce291a5cddcf67a5fb254fd.zip
removed unnecessary if statment
-rw-r--r--pyvyos/device.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pyvyos/device.py b/pyvyos/device.py
index b0de384..2d14c53 100644
--- a/pyvyos/device.py
+++ b/pyvyos/device.py
@@ -104,8 +104,6 @@ class VyDevice:
Returns:
dict: The payload for the API request.
"""
- if isinstance(path, str):
- path = [path]
if isinstance(path, list) and len(path) == 1:
# If path is a list and contains only one element, use it directly