- answerer follows the task limit

This commit is contained in:
Dmytro Bogovych 2023-09-05 16:35:25 +03:00
parent 009f8864b1
commit 36fa549fec
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,8 @@ def perform_answerer():
# Setup analyzer script # Setup analyzer script
# Run answering script # Run answering script
while True: attempt_idx = 0
while attempt_idx < CONFIG.TaskLimit or CONFIG.TaskLimit is None or CONFIG.TaskLimit == 0:
# Remove old recording # Remove old recording
if CONFIG.RecordFile.exists(): if CONFIG.RecordFile.exists():
os.remove(CONFIG.RecordFile) os.remove(CONFIG.RecordFile)