From d5d1ebec5465547840c77c05f37239616204eee9 Mon Sep 17 00:00:00 2001
From: William Roberts <wroberts4@wisc.edu>
Date: Mon, 10 Jun 2019 10:18:03 -0500
Subject: [PATCH] Remove commented out influxdb.insert

---
 aosstower/level_00/influxdb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aosstower/level_00/influxdb.py b/aosstower/level_00/influxdb.py
index 2350a38..f5d5287 100644
--- a/aosstower/level_00/influxdb.py
+++ b/aosstower/level_00/influxdb.py
@@ -190,8 +190,8 @@ def main():
         influx_gen = influxdb.grouper(influx_gen, args.bulk)
         updater = Updater()
         for record in influx_gen:
-            # lines = influxdb.frame_records(record, **station_tags)
-            # influxdb.insert(lines, host=args.host, port=args.port, dbname=args.dbname)
+            lines = influxdb.frame_records(record, **station_tags)
+            influxdb.insert(lines, host=args.host, port=args.port, dbname=args.dbname)
             # Record is in a list of size 1, but want just the record.
             avg = updater.rolling_average(record[0])
             # Once every 5 minutes: 0 through 295 seconds inclusive.
-- 
GitLab