From 3edba0df5b073ddfbce291a5cddcf67a5fb254fd Mon Sep 17 00:00:00 2001 From: xTITUSMAXIMUSX Date: Fri, 1 Mar 2024 16:00:19 -0600 Subject: removed unnecessary if statment --- pyvyos/device.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'pyvyos/device.py') 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 -- cgit v1.2.3