forked from platformio/platformio-core
Respect user privacy based on UA data
This commit is contained in:
1 parent
5c9b373b65
commit
3268b516a9
1 file changed
+2
@@ -274,6 +274,8 @@ def get_user_agent():
|
||||
data.append("IDE/%s" % os.getenv("PLATFORMIO_IDE"))
|
||||
data.append("Python/%s" % platform.python_version())
|
||||
data.append("Platform/%s" % platform.platform())
|
||||
if not get_setting("enable_telemetry"):
|
||||
data.append("Telemetry/0")
|
||||
return " ".join(data)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user