method 'complete': move end_time_dict to an argument
get_streams should return all tags
This commit is contained in:
@ -278,8 +278,9 @@ class EventStream:
|
||||
except Exception as e:
|
||||
print('can not connect to', uri, repr(e))
|
||||
continue
|
||||
device = stream.tags.get('device')
|
||||
events.append(('stream', kwargs.get('instrument', '0'),
|
||||
{}, uri, int(time.time())))
|
||||
{'device': device}, uri, int(time.time())))
|
||||
for name, stream in self.streams.items():
|
||||
try:
|
||||
if stream.get_events(events, maxevents):
|
||||
|
Reference in New Issue
Block a user