Content-Length: 204606 | pFad | http://github.com/GIS4WRF/gis4wrf/commit/082aa1ac805fc60fe4d5251a89254a0cf4bb8fa1

84 fix logging in qgis 3.20 (#215) · GIS4WRF/gis4wrf@082aa1a · GitHub
Skip to content

Commit

Permalink
fix logging in qgis 3.20 (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik authored Jul 15, 2021
1 parent 0040546 commit 082aa1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gis4wrf/plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def report_bug(self) -> None:

def init_logging(self) -> None:
levels = {
logging.NOTSET: getattr(Qgis, 'None'),
# https://github.com/qgis/QGIS/issues/42996
logging.NOTSET: Qgis.NoLevel if hasattr(Qgis, 'NoLevel') else getattr(Qgis, 'None'),

logging.DEBUG: Qgis.Info,
logging.INFO: Qgis.Info,
logging.WARN: Qgis.Warning,
Expand Down

0 comments on commit 082aa1a

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/GIS4WRF/gis4wrf/commit/082aa1ac805fc60fe4d5251a89254a0cf4bb8fa1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy