fix bug
This commit is contained in:
parent
b282849869
commit
4b41244947
@ -4,7 +4,7 @@ from influxdb import InfluxDBClient, exceptions
|
||||
from config.config_real import My_influx
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
import pdb
|
||||
|
||||
class Myinflux:
|
||||
def __init__(self):
|
||||
@ -15,6 +15,7 @@ class Myinflux:
|
||||
|
||||
def _write(self, body):
|
||||
try:
|
||||
pdb.set_trace()
|
||||
self.influxdb.write_points(body)
|
||||
print(f"write {body} 2 influx!")
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user