summaryrefslogtreecommitdiff
path: root/pyvyos/device.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyvyos/device.py')
-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