mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
diagnostic_name: convert to str
This commit is contained in:
parent
8f779f504f
commit
44d8c8f995
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ class Peer(PrintError):
|
||||||
self.attempted_route = {}
|
self.attempted_route = {}
|
||||||
|
|
||||||
def diagnostic_name(self):
|
def diagnostic_name(self):
|
||||||
return 'lnbase:' + self.host
|
return 'lnbase:' + str(self.host)
|
||||||
|
|
||||||
def ping_if_required(self):
|
def ping_if_required(self):
|
||||||
if time.time() - self.ping_time > 120:
|
if time.time() - self.ping_time > 120:
|
||||||
|
|
Loading…
Add table
Reference in a new issue