Explorar el Código

remove ujson logger (#2299)

zhangyubo0722 hace 1 año
padre
commit
f5532e95d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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