mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 05:15:55 +08:00
Fix: link to KB from filemanager. (#6530)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
d17970ebd0
commit
c8c91fd827
@ -39,7 +39,7 @@ def convert():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
files = FileService.get_by_ids(file_ids)
|
files = FileService.get_by_ids(file_ids)
|
||||||
files_set = set([file.id for file in files])
|
files_set = dict({file.id: file for file in files})
|
||||||
for file_id in file_ids:
|
for file_id in file_ids:
|
||||||
file = files_set[file_id]
|
file = files_set[file_id]
|
||||||
if not file:
|
if not file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user