fix/workaround for problem with osx permissions.

This commit is contained in:
Campbell Barton
2013-05-23 03:35:57 +00:00
parent 6bc2d57235
commit 4625e70430

View File

@@ -1761,7 +1761,11 @@ class WM_OT_addon_install(Operator):
return {'CANCELLED'}
# create dir is if missing.
try:
os.makedirs(path_addons, exist_ok=True)
except:
import traceback
traceback.print_exc()
# Check if we are installing from a target path,
# doing so causes 2+ addons of same name or when the same from/to