Skip to content

Commit

Permalink
Wrong exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
stuaxo committed May 2, 2016
1 parent 264ad54 commit b92a8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoebot/data/typography.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
gi.require_version('Pango', '1.0')
gi.require_version('PangoCairo', '1.0')
from gi.repository import Pango, PangoCairo
except ImportError as e:
except ValueError as e:
global Pango, PangoCairo

# workaround for readthedocs where Pango is not installed
Expand Down

0 comments on commit b92a8a8

Please sign in to comment.