From da027e9c0f68f5980d6425ab78e80ef13632bbbf Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 30 Oct 2026 01:47:57 +0100 Subject: [PATCH] Fixed pre-init link_id access --- RNS/Link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():