Update tasks.py

Don't lose your hair :)