Fixed pyflakes error in backend/handlers.py