Comment out the twitter test code.
[kiosk.git] / constants.py
1 #!/usr/bin/env python3
2
3 hostname = 'kiosk.house'
4 pages_dir = '/var/www/html/kiosk'
5 root_url = f'http://{hostname}/kiosk'
6
7 refresh_period_sec = 22.0
8 emergency_refresh_period_sec = 45.0
9 refresh_period_night_sec = 600.0
10 render_period_sec = 30.0
11 check_threads_period_sec = 60.0
12
13 seconds_per_minute = 60
14 seconds_per_hour = seconds_per_minute * 60
15 seconds_per_day = seconds_per_hour * 24
16
17 myq_pagename = "myq_4_300.html"
18 render_stats_pagename = 'internal/render-stats_1_1000.html'
19 gcal_imminent_pagename = "hidden/gcal-imminent_0_none.html"