Update fastcornerdetection.py

change exception type