I18n string cleanup and refactoring

This commit is contained in:
Griatch 2021-05-26 21:55:05 +02:00
parent 3f9e330b07
commit 7aa4c6ad7c
62 changed files with 890 additions and 738 deletions

View file

@ -27,11 +27,13 @@ class MonitorHandler(object):
"""
This is a resource singleton that allows for registering
callbacks for when a field or Attribute is updated (saved).
"""
def __init__(self):
"""
Initialize the handler.
"""
self.savekey = "_monitorhandler_save"
self.monitors = defaultdict(lambda: defaultdict(dict))