From 1d0d89a4faeae20e746523239780cf6e887cf0dd Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 29 Apr 2023 16:48:14 +0300 Subject: [PATCH] Remove unused code --- platformio/home/rpc/handlers/os.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/platformio/home/rpc/handlers/os.py b/platformio/home/rpc/handlers/os.py index 333618b5..2add5afb 100644 --- a/platformio/home/rpc/handlers/os.py +++ b/platformio/home/rpc/handlers/os.py @@ -156,9 +156,5 @@ class OSRPC: @staticmethod def get_logical_devices(): - items = [] - for item in list_logical_devices(): - if item["name"]: - item["name"] = item["name"] - items.append(item) - return items + return list_logical_devices() +