Commit 819d86b6 authored by Gezer's avatar Gezer
Browse files

Remove unnecessary print statements and clean up InfluxDBHelper initialization

parent 1be211ad
......@@ -11,17 +11,9 @@ def main():
url=os.getenv("INFLUXDB_URL"),
token=os.getenv("INFLUXDB_TOKEN"),
org=os.getenv("INFLUXDB_ORG"),
bucket=os.getenv("INFLUXDB_BUCKET"),
bucket=os.getenv("INFLUXDB_BUCKET"),
)
print("== ENV =="),
print("TOKEN:", os.getenv("INFLUXDB_TOKEN")),
print("URL:", os.getenv("INFLUXDB_URL")),
print("ORG:", os.getenv("INFLUXDB_ORG")),
print("BUCKET:", os.getenv("INFLUXDB_BUCKET")),
mqtt_handler = MQTTClientHandler(
broker_url=os.getenv("MQTT_BROKER_URL"),
topic=os.getenv("MQTT_TOPIC"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment