From 0d9bf5b862bb2a340fe92ee7ab966fbacafb9e03 Mon Sep 17 00:00:00 2001 From: JRG Date: Fri, 14 Aug 2026 22:03:12 +0300 Subject: [PATCH] rncp: fix variable name --- RNS/Utilities/rncp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rncp.py b/RNS/Utilities/rncp.py index fb71a04a..3fa84e26 100644 --- a/RNS/Utilities/rncp.py +++ b/RNS/Utilities/rncp.py @@ -878,8 +878,8 @@ def main(): except KeyboardInterrupt: print("") - if resource != None: - resource.cancel() + if current_resource != None: + current_resource.cancel() if link != None: link.teardown() RNS.exit()