Unverified Commit 27828f44 authored by Yeuoly's avatar Yeuoly Committed by GitHub

Fix/assistant none type (#2145)

parent 9525ca08
...@@ -128,6 +128,7 @@ class MessageFileParser: ...@@ -128,6 +128,7 @@ class MessageFileParser:
# group by file type and convert file args or message files to FileObj # group by file type and convert file args or message files to FileObj
for file in files: for file in files:
if isinstance(file, MessageFile):
if file.belongs_to == FileBelongsTo.ASSISTANT.value: if file.belongs_to == FileBelongsTo.ASSISTANT.value:
continue continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment