Update monitor.py

Removed unnecessary import