select correct platform
This commit is contained in:
parent
66c2ce3074
commit
6d243e8f4f
|
@ -163,7 +163,7 @@ def pipeline_from_request() -> Tuple[DeviceParams, ImageParams, Size]:
|
|||
if device_name is not None and device_name != "any":
|
||||
for platform in available_platforms:
|
||||
if platform.device == device_name:
|
||||
device = available_platforms[0]
|
||||
device = platform
|
||||
|
||||
# pipeline stuff
|
||||
lpw = get_not_empty(request.args, "lpw", "false") == "true"
|
||||
|
|
Loading…
Reference in New Issue