Update watchdog.py

Small tweak