mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-25 20:33:35 +00:00
Forgot to update the oled script after renaming class method. (#693)
This commit is contained in:
parent
ba8ad2e7f5
commit
cd0baa4676
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user