adding messaging config

This commit is contained in:
Adolfo Gómez García 2022-05-17 16:45:04 +02:00
parent d56ce0c653
commit 6b8e828835

View File

@ -0,0 +1,7 @@
from uds.core.util import config as cfg
# Globals for messagging
DO_NOT_REPEAT = cfg.Config.section('Messaging').value('Not Repeat Minutes', '10')
# Ensure that we have a default value for this on startup
DO_NOT_REPEAT.getInt()