plugin XEP-0363: fixes a forgotten attribute update
This commit is contained in:
parent
7428b57ac7
commit
c24537407b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue