From cd0baa4676ba8b9043c4b74b69d09681f1938abc Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Tue, 22 Feb 2022 00:29:35 -0800 Subject: [PATCH] Forgot to update the oled script after renaming class method. (#693) --- python/oled/src/rascsi_oled_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/oled/src/rascsi_oled_monitor.py b/python/oled/src/rascsi_oled_monitor.py index 343bd396..80d0e86d 100755 --- a/python/oled/src/rascsi_oled_monitor.py +++ b/python/oled/src/rascsi_oled_monitor.py @@ -161,7 +161,7 @@ FONT = ImageFont.truetype('resources/type_writer.ttf', FONT_SIZE) IP_ADDR, HOSTNAME = get_ip_and_host() REMOVABLE_DEVICE_TYPES = ractl_cmd.get_removable_device_types() -SUPPORT_DEVICE_TYPES = ractl_cmd.get_support_device_types() +PERIPHERAL_DEVICE_TYPES = ractl_cmd.get_peripheral_device_types() def formatted_output(): """ @@ -183,7 +183,7 @@ def formatted_output(): else: output.append(f"{line['id']} {line['device_type'][2:4]} {line['status']}") # Special handling of devices that don't use image files - elif line["device_type"] in (SUPPORT_DEVICE_TYPES): + elif line["device_type"] in (PERIPHERAL_DEVICE_TYPES): if line["vendor"] == "RaSCSI": output.append(f"{line['id']} {line['device_type'][2:4]} {line['product']}") else: