plugin XEP-0363: fixes a forgotten attribute update

This commit is contained in:
souliane 2016-03-04 10:00:23 +01:00
commit c24537407b

View file

@ -234,7 +234,7 @@ class XEP_0363(object):
@param content_type(unicode, None): MIME type of the content
empty string or None to guess automatically
"""
filename.replace('/', '_')
filename = filename.replace('/', '_')
client = self.host.getClient(profile_key)
return self.getSlot(client, filename, size, content_type or None, upload_jid or None)