diff --git a/api/itk_demo_optoboard/worker/celeryTasks.py b/api/itk_demo_optoboard/worker/celeryTasks.py index 7ae6a9e28fda01b1bfae0c3da3576dca92bb5085..2942c0bddc8f6bf4d7d03a6a501f2db59fca962e 100644 --- a/api/itk_demo_optoboard/worker/celeryTasks.py +++ b/api/itk_demo_optoboard/worker/celeryTasks.py @@ -226,7 +226,7 @@ def configureAllTask(): @celery.task() def BERT_Task(optoboardPosition, device, channel, meastime): - BERT_result = eval('optoboard_dic["' + optoboardPosition + '"].' + device).bert(channel + 1, 6, meastime) + BERT_result = eval('optoboard_dic["' + optoboardPosition + '"].' + device).bert(channel, 6, meastime) return BERT_result @celery.task()