diff src/plugins/plugin_xep_0363.py @ 1875:c55220fc03e4

plugin XEP-0363: fixes a forgotten attribute update
author souliane <souliane@mailoo.org>
date Fri, 04 Mar 2016 10:00:23 +0100
parents a19161bb3ff7
children 2daf7b4c6756
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0363.py	Thu Mar 03 18:28:53 2016 +0100
+++ b/src/plugins/plugin_xep_0363.py	Fri Mar 04 10:00:23 2016 +0100
@@ -234,7 +234,7 @@
         @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)