core, plugins: improve a bit some log messages
This commit is contained in:
parent
bf353880b4
commit
fe06c14303
1 changed files with 11 additions and 8 deletions
|
|
@ -143,7 +143,7 @@ class XEP_0054(object):
|
|||
"""Parse a <PHOTO> elem and save the picture"""
|
||||
for elem in photo_xml.elements():
|
||||
if elem.name == 'TYPE':
|
||||
log.info(_('Photo of type [%s] found') % str(elem))
|
||||
log.debug(_('Photo of type [%s] found') % str(elem))
|
||||
if elem.name == 'BINVAL':
|
||||
log.debug(_('Decoding binary'))
|
||||
decoded = b64decode(str(elem))
|
||||
|
|
|
|||
Loading…
Reference in a new issue