plugin XEP-0085: renamed category and parameter
This commit is contained in:
parent
75c414afde
commit
9378880e62
1 changed files with 8 additions and 6 deletions
|
|
@ -490,7 +490,7 @@ class Params(object):
|
|||
def returnXML(prof_xml):
|
||||
return_xml = prof_xml.toxml()
|
||||
prof_xml.unlink()
|
||||
return '\n'.join([line for line in return_xml.split('\n')])
|
||||
return '\n'.join((line for line in return_xml.split('\n') if line))
|
||||
|
||||
return self.__constructProfileXml(security_limit, profile).addCallback(returnXML)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue