Browse Source

remove ujson logger (#2299)

zhangyubo0722 1 year ago
parent
commit
f5532e95d7
1 changed files with 1 additions and 1 deletions
  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