fix cqi_over_socketio

This commit is contained in:
Patrick Jentsch 2024-12-05 15:07:03 +01:00
parent c97b2a886e
commit 07f09cdbd9

View File

@ -162,7 +162,7 @@ class CQiOverSocketIONamespace(Namespace):
if fn_name in CQI_API_FUNCTION_NAMES: if fn_name in CQI_API_FUNCTION_NAMES:
fn = getattr(cqi_client.api, fn_name) fn = getattr(cqi_client.api, fn_name)
elif fn_name in cqi_extension_functions.CQI_EXTENSION_FUNCTION_NAMES: elif fn_name in CQI_EXTENSION_FUNCTION_NAMES:
fn = getattr(cqi_extension_functions, fn_name) fn = getattr(cqi_extension_functions, fn_name)
else: else:
return {'code': 400, 'msg': 'Bad Request'} return {'code': 400, 'msg': 'Bad Request'}