diff --git a/ui/sd_internal/device_manager.py b/ui/sd_internal/device_manager.py index 2a9a2e9f..cd9c6a3c 100644 --- a/ui/sd_internal/device_manager.py +++ b/ui/sd_internal/device_manager.py @@ -72,6 +72,7 @@ def auto_pick_devices(currently_active_devices): # These already-running devices probably aren't terrible, since they were picked in the past. # Worst case, the user can restart the program and that'll get rid of them. devices = list(filter((lambda x: x['mem_free'] > free_mem_threshold or x['device'] in currently_active_devices), devices)) + devices = list(map(lambda x: x['device'], devices)) return devices def device_init(thread_data, device):