mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-07 22:23:29 +00:00
Fix influx2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
# Version 2.0 influx DB Client
|
# Version 2.0 influx DB Client
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
if sys.version_info[0] != 3:
|
if sys.version_info[0] != 3:
|
||||||
print("This script requires Python 3")
|
print("This script requires Python 3")
|
||||||
@@ -23,7 +24,6 @@ import datetime
|
|||||||
from LANforge.lfcli_base import LFCliBase
|
from LANforge.lfcli_base import LFCliBase
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
class RecordInflux(LFCliBase):
|
class RecordInflux(LFCliBase):
|
||||||
def __init__(self,
|
def __init__(self,
|
||||||
_lfjson_host="lanforge",
|
_lfjson_host="lanforge",
|
||||||
|
|||||||
Reference in New Issue
Block a user