diff --git a/src/sshkey_tools/keys.py b/src/sshkey_tools/keys.py index 4efbf63..9143cbf 100644 --- a/src/sshkey_tools/keys.py +++ b/src/sshkey_tools/keys.py @@ -117,7 +117,7 @@ class PublicKey: """ def __init__( - self, key: PrivkeyClasses = None, comment: Union[str, bytes] = None, **kwargs + self, key: PrivkeyClasses = None, comment: Union[str, bytes] = "", **kwargs ) -> None: self.key = key self.comment = comment