diagnostic_name: convert to str

This commit is contained in:
ThomasV 2018-07-14 18:36:31 +02:00
parent 8f779f504f
commit 44d8c8f995

View file

@ -310,7 +310,7 @@ class Peer(PrintError):
self.attempted_route = {}
def diagnostic_name(self):
return 'lnbase:' + self.host
return 'lnbase:' + str(self.host)
def ping_if_required(self):
if time.time() - self.ping_time > 120: