mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-09-04 06:07:48 -04:00
Update monitor.py
This commit is contained in:
parent
d115f18fd8
commit
2844417596
@ -870,7 +870,10 @@ if __name__ == '__main__':
|
||||
else:
|
||||
bridges_html = bridges_html.replace('<<<timeout_warning>>>', '')
|
||||
index_html = index_html.replace('<<<timeout_warning>>>', '')
|
||||
|
||||
if BTABLE['SETUP']['BRIDGES']:
|
||||
index_html = index_html.replace('<<<bridges_display>>>', '<a href="/bridges"><button class="button link">Bridges</button></a> ')
|
||||
else:
|
||||
index_html = index_html.replace('<<<bridges_display>>>', '')
|
||||
# Start update loop
|
||||
update_stats = task.LoopingCall(build_stats)
|
||||
update_stats.start(FREQUENCY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user