changeset 1564:001b62bed67c

core (xmpp.py): fixed bad import
author Goffi <goffi@goffi.org>
date Fri, 06 Nov 2015 17:09:42 +0100
parents 075a63180eab
children d86685c0c019
files src/core/xmpp.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
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):