Fixed minor typo in worker.py

Fixed minor typo in worker.py