Fix T73409: error deleting preset saved on different drive than Blender install

This commit is contained in:
Brecht Van Lommel 2020-01-27 15:10:48 +01:00
parent 3788901107
commit 5d21efcd21

@ -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