Update hub.py

add KeyboardInterrupt error in NOT_ERROR of Hub class.