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)