Philipp Hörist pushed to branch master at gajim / gajim

Commits:
40547c4d by Philipp Hörist at 2017-10-27T10:36:00+02:00
Fix import error

- - - - -


1 changed file:

- gajim/gtkspell.py


Changes:

=====================================
gajim/gtkspell.py
=====================================
--- a/gajim/gtkspell.py
+++ b/gajim/gtkspell.py
@@ -21,15 +21,13 @@ from gi.repository import GObject
 from gi.repository import Gtk
 from gi.repository import GLib
 import gi
-gi.require_version('GtkSpell', '3.0')
 try:
+    gi.require_version('GtkSpell', '3.0')
     from gi.repository import GtkSpell
     HAS_GTK_SPELL = True
 except ImportError:
     HAS_GTK_SPELL = False
 
-from gajim.common import app
-
 
 def ensure_attached(func):
     def f(self, *args, **kwargs):



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/40547c4d4be712f43407283827de0cd702814815

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/40547c4d4be712f43407283827de0cd702814815
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to