Update monitor.py

Fixed a mistake. :P