Commit 14993c61 authored by Jameson Rollins's avatar Jameson Rollins

fix bug in channel listing

parent 2f54414e
Pipeline #47623 passed with stages
in 36 seconds
......@@ -143,7 +143,7 @@ def main():
for chan in sorted(db.guarddb):
channel = const.CAS_PREFIX_FMT.format(IFO=ifo, SYSTEM=name) + chan
flag = ''
if guarddb[chan].get('archive'):
if db.guarddb[chan].get('archive'):
flag = '*'
print('{} {}'.format(channel, flag))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment