mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
### What problem does this PR solve? Fix [Bug]: Save parser configs in dataset configuration page is not working #15175 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -557,7 +557,7 @@ class CreateDatasetReq(Base):
|
||||
CreateDatasetReq(avatar="data:video/mp4;base64,...") # Unsupported MIME type
|
||||
```
|
||||
"""
|
||||
if v is None:
|
||||
if not v: # cover both None and empty string
|
||||
return v
|
||||
|
||||
if "," in v:
|
||||
|
||||
Reference in New Issue
Block a user