Update djvused.py

change exception type