Replace os.path.abspath by realpath

This commit is contained in:
Ivan Kravets
2019-11-15 16:02:15 +02:00
parent fbdcbf17c7
commit 6809da0353
10 changed files with 36 additions and 37 deletions

View File

@ -17,7 +17,7 @@ import hashlib
import os
import uuid
from os import environ, getenv, listdir, remove
from os.path import abspath, dirname, isdir, isfile, join
from os.path import dirname, isdir, isfile, join, realpath
from time import time
import requests
@ -34,7 +34,7 @@ from platformio.project.helpers import (
def projects_dir_validate(projects_dir):
assert isdir(projects_dir)
return abspath(projects_dir)
return realpath(projects_dir)
DEFAULT_SETTINGS = {