1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-01 21:54:42 -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:
2024-04-09 06:59:22 -04:00
parent a839dbd3c5
commit 80705cb341
+1
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):