From 3c693a7a2237e25921899acac4ba4dc2ea006fde Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 21 Aug 2017 16:38:27 +0200 Subject: [PATCH] fix import --- gajim/chat_control.py | 2 +- gajim/dialogs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gajim/chat_control.py b/gajim/chat_control.py index d2bbb59d0..57a4493ee 100644 --- a/gajim/chat_control.py +++ b/gajim/chat_control.py @@ -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 diff --git a/gajim/dialogs.py b/gajim/dialogs.py index a2a7d9a56..6350640e3 100644 --- a/gajim/dialogs.py +++ b/gajim/dialogs.py @@ -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