Update worker.py

Use docstring instead of comment. Sorry.