Update recording.py

Adapted NewConnect -> Connect