diff --git a/RNS/Link.py b/RNS/Link.py index a3b08473..019be996 100644 --- a/RNS/Link.py +++ b/RNS/Link.py @@ -1392,7 +1392,7 @@ class Link: if len(self.outgoing_resources) > 0: return False else: return True - def __str__(self): return RNS.prettyhexrep(self.link_id) + def __str__(self): return RNS.prettyhexrep(self.link_id) if self.link_id else "" class RequestReceipt():