Update manager.py

Addresses call to undefined variable "last_time"