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