Commit 12783e03 authored by Philipp Hörist's avatar Philipp Hörist

Catch require_version ValueError

parent 40547c4d
......@@ -25,7 +25,7 @@ try:
gi.require_version('GtkSpell', '3.0')
from gi.repository import GtkSpell
HAS_GTK_SPELL = True
except ImportError:
except (ImportError, ValueError):
HAS_GTK_SPELL = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment