Ver Fonte

warn -> warning

Kentaro Wada há 6 anos atrás
pai
commit
6b38a26a28
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      labelme/app.py

+ 1 - 1
labelme/app.py

@@ -77,7 +77,7 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
         output_dir=None,
     ):
         if output is not None:
-            logger.warn(
+            logger.warning(
                 'argument output is deprecated, use output_file instead'
             )
             if output_file is None: