mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-30 17:01:28 +00:00
avoid [''] on peers list
This commit is contained in:
parent
d09bfdc4ff
commit
c2dcc4c898
1 changed files with 1 additions and 1 deletions
|
@ -273,4 +273,4 @@ class Env:
|
||||||
return self.PD_ON
|
return self.PD_ON
|
||||||
|
|
||||||
def extract_peer_hubs(self):
|
def extract_peer_hubs(self):
|
||||||
return [hub.strip() for hub in self.default('PEER_HUBS', '').split(',')]
|
return [hub.strip() for hub in self.default('PEER_HUBS', '').split(',') if hub.strip()]
|
||||||
|
|
Loading…
Add table
Reference in a new issue