mirror of
https://github.com/craigerl/aprsd.git
synced 2025-07-30 20:32:27 -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):
|
class StatsStore(objectstore.ObjectStoreMixin):
|
||||||
"""Container to save the stats from the collector."""
|
"""Container to save the stats from the collector."""
|
||||||
lock = threading.Lock()
|
lock = threading.Lock()
|
||||||
|
data = {}
|
||||||
|
|
||||||
|
|
||||||
class APRSDStatsStoreThread(APRSDThread):
|
class APRSDStatsStoreThread(APRSDThread):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user