diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-06 15:27:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-06 15:27:04 +0400 |
commit | e26b0c68a4c6e284e2d5690588fc7dad6e7a8112 (patch) | |
tree | c44eca3d21de7e123781fda07537282021eb2785 /release | |
parent | 576035f9e1080198367be6742309bdda680540d0 (diff) |
patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter on Windows that does not exist
by Brandon Ehle (azverkan)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy/path.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py index 9a29b713882..f7e5b988cc8 100644 --- a/release/scripts/modules/bpy/path.py +++ b/release/scripts/modules/bpy/path.py @@ -144,6 +144,9 @@ def resolve_ncase(path): dirpath = os.path.dirname(dirpath) if not os.path.exists(dirpath): + if dirpath == path: + return path, False + dirpath, found = _ncase_path_found(dirpath) if not found: |