1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-04-10 05:28:58 -04:00

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

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):