fix typo in timelapse.py