fix connections status raising an error during startup

This commit is contained in:
Jack Robison 2019-06-07 12:14:05 -04:00
parent 077dbb3138
commit 0da43d3e05
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -306,7 +306,7 @@ class BlobComponent(Component):
count = len(self.blob_manager.completed_blob_hashes)
return {
'finished_blobs': count,
'connections': self.blob_manager.connection_manager.status
'connections': {} if not self.blob_manager else self.blob_manager.connection_manager.status
}