Skip to content

Commit c278181

Browse files
committed
Avoids to check updates until PlatformIO is installed
1 parent 3ae6378 commit c278181

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platformio/update.py

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ def check_update(self):
117117
To know what is the last version of platformio
118118
pypi is checked
119119
"""
120+
installed = get_setting('installed', False)
121+
122+
if(not installed):
123+
return
124+
120125
from datetime import datetime, timedelta
121126

122127
date_now = datetime.now()

0 commit comments

Comments
 (0)