diff --git a/src/bt_call_controller.py b/src/bt_call_controller.py index b9c9938..3b5cddb 100644 --- a/src/bt_call_controller.py +++ b/src/bt_call_controller.py @@ -99,10 +99,10 @@ def answer_call(play_file: str): utils.log('Waiting for incoming call...') # Wait for incoming call - while not CALL_ADDED.value and not INTERRUPT_SIGNAL.value(): + while not CALL_ADDED.value and not INTERRUPT_SIGNAL.value: time.sleep(0.01) - if INTERRUPT_SIGNAL.value(): + if INTERRUPT_SIGNAL.value: utils.log(f'Interrupt signal detected, exiting.') return