Update Main.py

Fixed connecting test