Skip to content
Snippets Groups Projects
Commit aba1a22a authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

handle corrcetly node with more than 1 #. fixes #3445

parent b2e1d918
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ class ConnectionCaps(object):
if not contact: return
if not contact.caps_node: return # we didn't asked for that?
if not node.startswith(contact.caps_node+'#'): return
node, ext = node.split('#')
node, ext = node.split('#', 1)
if ext==contact.caps_ver: # this can be also version (like '0.9')
exts=None
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment