mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-24 11:50:53 +00:00
fixed relative import
This commit is contained in:
parent
a3b94d51fb
commit
d9b812a73b
1 changed files with 5 additions and 4 deletions
|
@ -24,10 +24,11 @@ from . basexmpp import basexmpp
|
|||
from xml.etree import cElementTree as ET
|
||||
|
||||
# some servers use different namespaces for components -- this is a hack, but is there for compatibility
|
||||
from . import xmlstream.matcher.xmlmask
|
||||
from . import xmlstream.matcher.xpath
|
||||
xmlstream.matcher.xmlmask.ignore_ns = True
|
||||
xmlstream.matcher.xpath.ignore_ns = True
|
||||
from . xmlstream.matcher import xmlmask
|
||||
from . xmlstream.matcher import xpath
|
||||
|
||||
xmlmask.ignore_ns = True
|
||||
xpath.ignore_ns = True
|
||||
# ----------
|
||||
|
||||
from . xmlstream.xmlstream import XMLStream
|
||||
|
|
Loading…
Reference in a new issue