Skip to content

Commit f32f611

Browse files
author
uri.akavia
committed
Trying to make windows work
1 parent 0acc4c9 commit f32f611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cobra/io/web/load.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _fetch_model(
157157
)
158158
try:
159159
return repository.get_sbml(model_id=model_id)
160-
except FileNotFoundError:
160+
except (FileNotFoundError, OSError):
161161
logger.debug(
162162
f"Model '{model_id} not found in the local "
163163
f"repository {repository.name}.'"

0 commit comments

Comments
 (0)