Update continuouscapture.py