From 49ae029572dcd01fa7e951066c28ae352d7653e0 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 26 Jan 2016 16:07:33 -0500 Subject: [PATCH] Don't try to process blank IPs --- lbrynet/dht/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/dht/node.py b/lbrynet/dht/node.py index 1fae2e889..a3bf56553 100644 --- a/lbrynet/dht/node.py +++ b/lbrynet/dht/node.py @@ -516,7 +516,7 @@ class Node(object): else: raise TypeError, 'No NodeID given. Therefore we can\'t store this node' - if self_store is True and self.externalIP is not None: + if self_store is True and self.externalIP: contact = Contact(self.id, self.externalIP, self.port, None, None) compact_ip = contact.compact_ip() elif '_rpcNodeContact' in kwargs: