From 5e0b2c5b42ec30b0f676e231ed2a56723cdf2c14 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 29 Sep 2023 12:29:37 +0200 Subject: [PATCH] Allow rnid aspect lengths of 1 --- RNS/Utilities/rnid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Utilities/rnid.py b/RNS/Utilities/rnid.py index 6fc8e09..6f1bada 100644 --- a/RNS/Utilities/rnid.py +++ b/RNS/Utilities/rnid.py @@ -196,7 +196,7 @@ def main(): if args.hash: try: aspects = args.hash.split(".") - if not len(aspects) > 1: + if not len(aspects) > 0: RNS.log("Invalid destination aspects specified", RNS.LOG_ERROR) exit(32) else: