mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-10-02 08:10:34 +00:00
fix connections status raising an error during startup
This commit is contained in:
parent
4ae59b15e0
commit
8683e96156
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ class BlobComponent(Component):
|
||||||
count = len(self.blob_manager.completed_blob_hashes)
|
count = len(self.blob_manager.completed_blob_hashes)
|
||||||
return {
|
return {
|
||||||
'finished_blobs': count,
|
'finished_blobs': count,
|
||||||
'connections': self.blob_manager.connection_manager.status
|
'connections': {} if not self.blob_manager else self.blob_manager.connection_manager.status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue