mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T73409: error deleting preset saved on different drive than Blender install
This commit is contained in:
parent
3788901107
commit
5d21efcd21
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue