We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec306b commit f815663Copy full SHA for f815663
+stdlib/+python/private/pythonException.m
@@ -2,7 +2,7 @@ function pythonException(e)
2
3
switch e.identifier
4
case 'MATLAB:Python:PyException'
5
- if ~contains(e.message, "FileNotFoundError")
+ if ~contains(e.message, ["NotADirectoryError", "FileNotFoundError"])
6
rethrow(e)
7
end
8
otherwise, rethrow(e)
0 commit comments