Only track mumble stat if URL is set

This commit is contained in:
Tanner Collin 2021-04-03 19:06:52 +00:00
parent 605a4ff40b
commit 868e3636dc

View File

@ -22,12 +22,14 @@ DEFAULTS = {
'bay_108_temp': None,
'bay_110_temp': None,
'minecraft_players': [],
'mumble_users': [],
'card_scans': 0,
'track': {},
'alarm': {},
}
if secrets.MUMBLE:
DEFAULTS['mumble_users'] = []
def changed_card():
'''
Called whenever the card list could change, ie. cards added, modified, or