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:
parent
a839dbd3c5
commit
80705cb341
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user