diff --git a/syncrypt/backends/binary.py b/syncrypt/backends/binary.py index fa0e3c0..f486c12 100644 --- a/syncrypt/backends/binary.py +++ b/syncrypt/backends/binary.py @@ -776,7 +776,7 @@ def init(self): self.slots = [BinaryStorageConnection(self) for i in range(self.concurrency)] def get_stats(self): - states = {} + states = {'closed': 0} if self.slots: for conn in self.slots: states[conn.state] = states.get(conn.state, 0) + 1