mirror of https://github.com/langgenius/dify.git
fix style check
This commit is contained in:
parent
efce1b04e0
commit
6166c26ea6
|
|
@ -214,7 +214,7 @@ class KnowledgebasePipelineFileUploadApi(DatasetApiResource):
|
|||
raise UnsupportedFileTypeError()
|
||||
|
||||
if not file.filename:
|
||||
raise FilenameNotExistsError+
|
||||
raise FilenameNotExistsError
|
||||
|
||||
if not current_user:
|
||||
raise ValueError("Invalid user account")
|
||||
|
|
|
|||
Loading…
Reference in New Issue