summaryrefslogtreecommitdiff
path: root/python/mailutils/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mailutils/message.py')
-rw-r--r--python/mailutils/message.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mailutils/message.py b/python/mailutils/message.py
index 0f4744a78..89aa984d4 100644
--- a/python/mailutils/message.py
+++ b/python/mailutils/message.py
@@ -138,11 +138,11 @@ class Message:
raise MessageError (status)
return uidl
- def get_attachment_name (self):
- status, name = message.get_attachment_name (self.msg)
+ def get_attachment_name (self, charset=None):
+ status, name, lang = message.get_attachment_name (self.msg, charset)
if status:
raise MessageError (status)
- return name
+ return name, lang
def save_attachment (self, filename = ''):
status = message.save_attachment (self.msg, filename)

Return to:

Send suggestions and report system problems to the System administrator.