move sehistory specific stuff from influx.py to seinflux.py
This commit is contained in:
4
secop.py
4
secop.py
@ -122,8 +122,8 @@ class UdpStream(Base):
|
||||
continue
|
||||
if kind == 'for_other_node':
|
||||
uri = msg.pop('uri')
|
||||
if 'device' not in msg:
|
||||
msg['device'] = uri.split('://', 1)[-1].split(':')[0]
|
||||
# if 'device' not in msg:
|
||||
# msg['device'] = uri.split('://', 1)[-1].split(':')[0]
|
||||
kwargs = msg
|
||||
elif kind == 'node':
|
||||
uri = f"{addr[0]}:{msg['port']}"
|
||||
|
Reference in New Issue
Block a user