mirror of https://github.com/borgbase/vorta
Add new SSH key error (#1070)
This commit is contained in:
parent
901992f026
commit
06dc2489d7
|
@ -141,7 +141,8 @@ def get_private_keys():
|
|||
'fingerprint': parsed_key.get_fingerprint().hex()
|
||||
}
|
||||
available_private_keys.append(key_details)
|
||||
except (SSHException, UnicodeDecodeError, IsADirectoryError, IndexError, ValueError, PermissionError):
|
||||
except (SSHException, UnicodeDecodeError, IsADirectoryError, IndexError, ValueError,
|
||||
PermissionError, NotImplementedError):
|
||||
continue
|
||||
except OSError as e:
|
||||
if e.errno == errno.ENXIO:
|
||||
|
|
Loading…
Reference in New Issue