Skip to content

Commit

Permalink
use filepath instead of file name
Browse files Browse the repository at this point in the history
  • Loading branch information
diivi committed Mar 9, 2023
1 parent 6e6ffd6 commit ab0a33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vorta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab0a33e

Please sign in to comment.