Commit ef30ccc8 authored by Nikita Yurishev's avatar Nikita Yurishev

fixed errors in code

parent e15979b7
......@@ -5,7 +5,7 @@ import logging as log
import hid
import sys
import socket
from send_data_to_influxdb import InfluxWriter
from influxWriter import InfluxWriter
CO2_USB_MFG = 'Holtek'
CO2_USB_PRD = 'USB-zyTemp'
......@@ -65,7 +65,7 @@ class ZyTemp():
print(f"{sensor_id}: {values}")
self.influx_writer.write_data(sensor_id, values) # Записываем данные в InfluxDB
sys.exit(0)
#!
def run_once(self, decrypt=False):
while True:
try:
......
Markdown is supported
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