Skip to content

Commit

Permalink
Update gui/wxpython/core/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vaclav Petras <[email protected]>
  • Loading branch information
arohanajit and wenzeslaus authored Sep 23, 2024
1 parent 0d73aca commit bcfaaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def _getOGRFormats():
"""Get dictionary of available OGR drivers"""
try:
ret = grass.read_command("v.in.ogr", quiet=True, flags="f")
except Exception:
except grass.CalledModuleError:
ret = None

return _parseFormats(ret), _parseFormats(ret, writableOnly=True)
Expand Down

0 comments on commit bcfaaf8

Please sign in to comment.