method 'complete': move end_time_dict to an argument

get_streams should return all tags
This commit is contained in:
2025-02-25 14:13:35 +01:00
parent 6659fa76f5
commit 78ceecbb53
2 changed files with 9 additions and 9 deletions

View File

@ -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):