fix import

This commit is contained in:
Yann Leboulanger 2017-08-21 16:38:27 +02:00
parent 144c862dab
commit 3c693a7a22
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ from gajim.common.exceptions import GajimGeneralException
from gajim.command_system.implementation.hosts import ChatCommands
try:
import gtkspell
from gajim import gtkspell
HAS_GTK_SPELL = True
except (ImportError, ValueError):
HAS_GTK_SPELL = False

View File

@ -49,7 +49,7 @@ from gajim.common import pep
from gajim.common import ged
try:
import gtkspell
from gajim import gtkspell
HAS_GTK_SPELL = True
except (ImportError, ValueError):
HAS_GTK_SPELL = False