diff src/core/xmpp.py @ 1564:001b62bed67c

core (xmpp.py): fixed bad import
author Goffi <goffi@goffi.org>
date Fri, 06 Nov 2015 17:09:42 +0100
parents 591c32dbfb0b
children 6338677f3a89
line wrap: on
line diff
--- a/src/core/xmpp.py	Tue Nov 03 10:23:08 2015 +0100
+++ b/src/core/xmpp.py	Fri Nov 06 17:09:42 2015 +0100
@@ -27,10 +27,7 @@
 from sat.core import exceptions
 from calendar import timegm
 from zope.interface import implements
-try:
-    from twisted.words.protocols.xmlstream import XMPPHandler
-except ImportError:
-    from wokkel.subprotocols import XMPPHandler
+from twisted.words.protocols.jabber.xmlstream import XMPPHandler
 
 
 class SatXMPPClient(client.XMPPClient):