From dd12290f3eb7dc70e5adbbf32b33cc3109a2cf72 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 11:06:58 +0200 Subject: [PATCH] known/exists --- spcd/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spcd/__init__.py b/spcd/__init__.py index aeca5f2..ef32424 100644 --- a/spcd/__init__.py +++ b/spcd/__init__.py @@ -88,4 +88,5 @@ def set_ssh() -> None: known.chmod(0o400) # display browse(ssh) - cat(known) + if known.exists(): + cat(known)