From 28d8b1c883250468c9b9723f74561192df7fdc8c Mon Sep 17 00:00:00 2001 From: Wang Qi Date: Fri, 17 Apr 2026 13:13:41 +0800 Subject: [PATCH] [Fix] trivial fix log creation (#14181) ### What problem does this PR solve? Trivial fix log creation, follow on PR: https://github.com/infiniflow/ragflow/pull/14136 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- api/db/services/pipeline_operation_log_service.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/db/services/pipeline_operation_log_service.py b/api/db/services/pipeline_operation_log_service.py index aa2645321e..344e2381b7 100644 --- a/api/db/services/pipeline_operation_log_service.py +++ b/api/db/services/pipeline_operation_log_service.py @@ -105,8 +105,6 @@ class PipelineOperationLogService(CommonService): logging.warning(f"Document for referred_document_id {referred_document_id} not found") return None DocumentService.update_progress_immediately([document.to_dict()]) - if document.progress not in [1, -1]: - return None ok, document = DocumentService.get_by_id(referred_document_id) if not ok: