瀏覽代碼

remove ujson logger (#2299)

zhangyubo0722 1 年之前
父節點
當前提交
f5532e95d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      paddlex/utils/file_interface.py

+ 1 - 1
paddlex/utils/file_interface.py

@@ -25,7 +25,7 @@ import chardet
 try:
     import ujson as json
 except:
-    logging.error("failed to import ujson, using json instead")
+    logging.warning("failed to import ujson, using json instead")
     import json
 
 from contextlib import contextmanager