소스 검색

fix chinese encoding (#411)

Jyong 2 년 전
부모
커밋
36dc05c4da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/core/data_source/notion.py

+ 1 - 1
api/core/data_source/notion.py

@@ -251,7 +251,7 @@ class NotionPageReader(BaseReader):
                 else:
                     value = property_value[type]
                 data[property_name] = value
-            database_content_list.append(json.dumps(data))
+            database_content_list.append(json.dumps(data, ensure_ascii=False))
 
         return "\n\n".join(database_content_list)