fix bug not changing host
This commit is contained in:
@ -379,6 +379,7 @@ a {
|
|||||||
for end, beg, key, devices in chunk_list:
|
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))
|
today, begdate, enddate = (time.strftime("%Y-%m-%d", time.localtime(t)) for t in (now, beg, end))
|
||||||
port = None
|
port = None
|
||||||
|
host = ''
|
||||||
if key[0] == 'instrument':
|
if key[0] == 'instrument':
|
||||||
ins = key[1]
|
ins = key[1]
|
||||||
port = instruments.get(ins)
|
port = instruments.get(ins)
|
||||||
|
Reference in New Issue
Block a user