Skip to content

Commit ffc3a15

Browse files
authored
Merge pull request #571 from ahurtaud/fix/influxdbexport
Fix export to influxdb config flag
2 parents 652ca16 + 5833b0d commit ffc3a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def export_influxdb(self):
521521
detail = "Import des données vers InfluxDB"
522522
usage_point_id = self.usage_point_config.usage_point_id
523523
title(f"[{usage_point_id}] {detail}")
524-
if APP_CONFIG.mqtt.enable:
524+
if APP_CONFIG.influxdb.enable:
525525
ExportInfluxDB(usage_point_id)
526526
else:
527527
title("Désactivé dans la configuration (Exemple: https://tinyurl.com/2kbd62s9)")

0 commit comments

Comments
 (0)