diff --git a/slixmpp/componentxmpp.py b/slixmpp/componentxmpp.py index 3ed7bf82..bde112b4 100644 --- a/slixmpp/componentxmpp.py +++ b/slixmpp/componentxmpp.py @@ -95,7 +95,7 @@ class ComponentXMPP(BaseXMPP): for st in Message, Iq, Presence: register_stanza_plugin(st, Error) - def connect(self, host: str = '', port: int = 0, use_ssl: Optional[bool] = None) -> None: + def connect(self, host: str = None, port: int = 0, use_ssl: Optional[bool] = None) -> None: """Connect to the server.