Don't rmtree symlink

ghowardsit
Santos Gallegos 2018-11-26 11:43:06 -05:00
parent c37b00995c
commit dcc37cccc2
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class Symlink(object):
symlink = self.project_root
if os.path.islink(symlink):
safe_unlink(symlink)
if os.path.exists(symlink):
elif os.path.exists(symlink):
shutil.rmtree(symlink)
# Create symlink