fix bug not changing host

This commit is contained in:
2025-05-20 16:59:25 +02:00
committed by SANS
parent fd37ee0dfc
commit 55dd7a3777

View File

@ -379,6 +379,7 @@ a {
for end, beg, key, devices in chunk_list:
today, begdate, enddate = (time.strftime("%Y-%m-%d", time.localtime(t)) for t in (now, beg, end))
port = None
host = ''
if key[0] == 'instrument':
ins = key[1]
port = instruments.get(ins)