Skip to content

Commit

Permalink
avoid [''] on peers list
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed Sep 13, 2021
1 parent d09bfdc commit c2dcc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/wallet/server/env.py
Expand Up @@ -273,4 +273,4 @@ def peer_discovery_enum(self):
return self.PD_ON

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()]

0 comments on commit c2dcc4c

Please sign in to comment.