Skip to content
Permalink
Browse files
make exception finer grained
  • Loading branch information
tomkralidis authored and nyalldawson committed Feb 28, 2022
1 parent 0f98e3c commit 15a2030e80900a4caafeae746ec1baae64274a73
Showing 1 changed file with 1 addition and 1 deletion.
@@ -159,7 +159,7 @@ class OARecSearch(SearchBase):
def __init__(self, url, timeout, auth):
try:
from owslib.ogcapi.records import Records
except Exception:
except ModuleNotFoundError:
# OWSLIB_OAREC_SUPPORTED already set to False
pass

0 comments on commit 15a2030

Please sign in to comment.