Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Nov 16, 2023
1 parent e197b0f commit e4aab31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion audb/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ def _lookup(
"""
for repository in config.REPOSITORIES:

backend = access_backend(repository)
try:
backend = access_backend(repository)
except audbackend.BackendError:
continue

header = backend.join('/', name, 'db.yaml')

if backend.exists(header, version, suppress_backend_errors=True):
Expand Down

0 comments on commit e4aab31

Please sign in to comment.