From 19bc8ef85c124f98a2da31fbe113c93ed5c98979 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 18 May 2026 03:00:52 +0200 Subject: [PATCH] Cleanup --- RNS/Utilities/rngit/server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RNS/Utilities/rngit/server.py b/RNS/Utilities/rngit/server.py index 1137f824..1520734f 100644 --- a/RNS/Utilities/rngit/server.py +++ b/RNS/Utilities/rngit/server.py @@ -3953,8 +3953,7 @@ class ReticulumGitNode(): doc_dir = os.path.join(work_path, scope, str(doc_id)) root_path = os.path.join(doc_dir, "root") - RNS.log(f"PATH: {root_path}") - + if not os.path.isfile(root_path): return self.RES_NOT_FOUND.to_bytes(1, "big") + b"Document not found" doc = self._work_load_document(root_path)