Skip to content
Snippets Groups Projects
Commit b2df5610 authored by Manuel Günther's avatar Manuel Günther
Browse files

Allowed ImportError in database_directories() function

parent 1b0085a9
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,7 @@ def database_directories(strip=['dummy'], replacements = None): ...@@ -220,7 +220,7 @@ def database_directories(strip=['dummy'], replacements = None):
dirs[entry_point.name] = [db.original_directory] dirs[entry_point.name] = [db.original_directory]
if db.annotation_directory is not None: if db.annotation_directory is not None:
dirs[entry_point.name].append(db.annotation_directory) dirs[entry_point.name].append(db.annotation_directory)
except (AttributeError, ValueError): except (AttributeError, ValueError, ImportError):
pass pass
return dirs return dirs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment