Ensure StatsStore has empty data

This patch ensures that the StatsStore object has a default
empty dict for data.
This commit is contained in:
Hemna 2024-04-09 06:59:22 -04:00
parent a839dbd3c5
commit 80705cb341
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ LOG = logging.getLogger("APRSD")
class StatsStore(objectstore.ObjectStoreMixin):
"""Container to save the stats from the collector."""
lock = threading.Lock()
data = {}
class APRSDStatsStoreThread(APRSDThread):