From 8c16a090ecd47431cfe0fd29b347e6ad73c61ce4 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 15 Feb 2025 15:18:15 +0800 Subject: [PATCH] Refine --- influxdb_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb_api.py b/influxdb_api.py index e885c94..36947eb 100644 --- a/influxdb_api.py +++ b/influxdb_api.py @@ -1338,7 +1338,7 @@ def query_buckets(client: InfluxDBClient=client) -> list[str]: print("All Buckets:") buckets_list = [] for bucket in buckets: - buckets.append(bucket.name) + buckets_list.append(bucket.name) return buckets_list