mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix enable/disable telemetry service
This commit is contained in:
@ -110,6 +110,9 @@ class MeasurementProtocol(TelemetryBase):
|
||||
self['cd3'] = " ".join(args)
|
||||
|
||||
def send(self, hittype):
|
||||
if not app.get_setting("enable_telemetry"):
|
||||
return
|
||||
|
||||
self['t'] = hittype
|
||||
|
||||
# correct queue time
|
||||
|
Reference in New Issue
Block a user