Only track mumble stat if URL is set
This commit is contained in:
parent
605a4ff40b
commit
868e3636dc
|
@ -22,12 +22,14 @@ DEFAULTS = {
|
||||||
'bay_108_temp': None,
|
'bay_108_temp': None,
|
||||||
'bay_110_temp': None,
|
'bay_110_temp': None,
|
||||||
'minecraft_players': [],
|
'minecraft_players': [],
|
||||||
'mumble_users': [],
|
|
||||||
'card_scans': 0,
|
'card_scans': 0,
|
||||||
'track': {},
|
'track': {},
|
||||||
'alarm': {},
|
'alarm': {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if secrets.MUMBLE:
|
||||||
|
DEFAULTS['mumble_users'] = []
|
||||||
|
|
||||||
def changed_card():
|
def changed_card():
|
||||||
'''
|
'''
|
||||||
Called whenever the card list could change, ie. cards added, modified, or
|
Called whenever the card list could change, ie. cards added, modified, or
|
||||||
|
|
Loading…
Reference in New Issue
Block a user