Fix indentation errors in on_connect function to resolve runtime issues
- Corrected inconsistent indentation to match the expected Python format. - Ensured proper alignment of the `on_connect` function code block to avoid `IndentationError`.
This commit is contained in: