mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Re-tested with Click 3.2
This commit is contained in:
@ -26,7 +26,6 @@ def get_systype():
|
|||||||
|
|
||||||
|
|
||||||
def get_home_dir():
|
def get_home_dir():
|
||||||
home_dir = expanduser("~/.platformio")
|
|
||||||
try:
|
try:
|
||||||
config = get_project_config()
|
config = get_project_config()
|
||||||
if (config.has_section("platformio") and
|
if (config.has_section("platformio") and
|
||||||
@ -34,7 +33,7 @@ def get_home_dir():
|
|||||||
return config.get("platformio", "home_dir")
|
return config.get("platformio", "home_dir")
|
||||||
except NotPlatformProject:
|
except NotPlatformProject:
|
||||||
pass
|
pass
|
||||||
return home_dir
|
return expanduser("~/.platformio")
|
||||||
|
|
||||||
|
|
||||||
def get_source_dir():
|
def get_source_dir():
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
click==3.1
|
click==3.2
|
||||||
colorama==0.3.1
|
colorama==0.3.1
|
||||||
pyserial==2.7
|
pyserial==2.7
|
||||||
requests==2.3.0
|
requests==2.3.0
|
||||||
|
Reference in New Issue
Block a user