Skip to content

Commit

Permalink
Actually ImportError rather than Menpo error
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksnape committed Jun 16, 2016
1 parent 6c04612 commit 491a275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions menpodetect/tests/bob_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import unittest
from menpo.base import MenpoMissingDependencyError
try:
from menpodetect.bob import load_bob_frontal_face_detector
MISSING_BOB = False
except MenpoMissingDependencyError:
except ImportError:
MISSING_BOB = True

import menpo.io as mio
Expand Down

0 comments on commit 491a275

Please sign in to comment.