Merge pull request #2216 from lbryio/fix-connection-status-startup-error
fix connections status raising an error during startup
This commit is contained in:
commit
06a9770504
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue