Skip to content
Permalink
Browse files
make exception finer grained
  • Loading branch information
tomkralidis authored and nyalldawson committed Feb 28, 2022
1 parent 8b50f41 commit 85d6c2c7b8877f745e7bce6ca9d1ae8243b262d9
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 85d6c2c

Please sign in to comment.