From ab0a33ee6a1bf4edc6edb6a0e4bda75363b5483f Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Thu, 9 Mar 2023 14:50:39 +0530 Subject: [PATCH] use filepath instead of file name --- src/vorta/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vorta/utils.py b/src/vorta/utils.py index 56207b454..e589972b3 100644 --- a/src/vorta/utils.py +++ b/src/vorta/utils.py @@ -209,7 +209,7 @@ def get_private_keys() -> List[str]: else: logger.debug(f'Not a private SSH key file: {key}') except PermissionError: - logger.warning(f'Permission error while opening file in .ssh: {key}', exc_info=True) + logger.warning(f'Permission error while opening file: {key_file}', exc_info=True) continue except OSError as e: if e.errno == errno.ENXIO: