core (xmpp.py): fixed bad import
This commit is contained in:
parent
04929c74d4
commit
2c0d0fc8db
1 changed files with 1 additions and 4 deletions
|
|
@ -27,10 +27,7 @@ log = getLogger(__name__)
|
|||
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue