mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-14 17:08:31 +08:00
[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)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user