fix(api): remove any from device pool
This commit is contained in:
parent
6b30ccc60c
commit
db06f4a9c3
|
@ -400,7 +400,8 @@ load_platforms(context)
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
CORS(app, origins=context.cors_origin)
|
CORS(app, origins=context.cors_origin)
|
||||||
|
|
||||||
executor = DevicePoolExecutor(available_platforms)
|
# any is a fake device, should not be in the pool
|
||||||
|
executor = DevicePoolExecutor([p for p in available_platforms if p.device != "any"])
|
||||||
|
|
||||||
if is_debug():
|
if is_debug():
|
||||||
gc.set_debug(gc.DEBUG_STATS)
|
gc.set_debug(gc.DEBUG_STATS)
|
||||||
|
|
Loading…
Reference in New Issue