Disable SSL Server-Name-Indication for Python < 2.7.9

This commit is contained in:
Ivan Kravets committed 2016-09-08 13:50:45 +03:00
1 parent dab4c91c98
commit df4560412d
4 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@
import hashlib
import json
import sys
import uuid
from copy import deepcopy
from os import environ, getenv
@@ -52,7 +53,7 @@ DEFAULT_SETTINGS = {
},
"disable_ssl": {
"description": "Disable SSL for PlatformIO services",
"value": True
"value": sys.version_info < (2, 7, 9)
},
"enable_telemetry": {
"description":