Fix tasks.py