From 54b1cbaf2fbdbc134d1ba1db1d7997b3f0bc5688 Mon Sep 17 00:00:00 2001 From: Maik Riechert Date: Fri, 7 Jan 2022 11:21:22 +0100 Subject: [PATCH] fix log level on qgis 3.16 (#224) --- gis4wrf/plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gis4wrf/plugin/plugin.py b/gis4wrf/plugin/plugin.py index 7b67e74..6276680 100644 --- a/gis4wrf/plugin/plugin.py +++ b/gis4wrf/plugin/plugin.py @@ -111,7 +111,7 @@ def report_bug(self) -> None: def init_logging(self) -> None: levels = { # https://github.com/qgis/QGIS/issues/42996 - logging.NOTSET: Qgis.NoLevel if hasattr(Qgis, 'NoLevel') else getattr(Qgis, 'None'), + logging.NOTSET: Qgis.NoLevel if hasattr(Qgis, 'NoLevel') else Qgis.Info, logging.DEBUG: Qgis.Info, logging.INFO: Qgis.Info,