Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/modules/bpy/utils/__init__.py')
-rw-r--r--release/scripts/modules/bpy/utils/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py
index abe33b0e8ea..ae1e3495cba 100644
--- a/release/scripts/modules/bpy/utils/__init__.py
+++ b/release/scripts/modules/bpy/utils/__init__.py
@@ -486,7 +486,10 @@ def is_path_builtin(path):
):
return True
except FileNotFoundError:
- #The path we tried to look up doesn't exist
+ # The path we tried to look up doesn't exist.
+ pass
+ except ValueError:
+ # Happens on Windows when paths don't have the same drive.
pass
return False