summaryrefslogtreecommitdiff
path: root/examples/python
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python')
-rw-r--r--examples/python/mimetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/mimetest.py b/examples/python/mimetest.py
index c14d72789..471a05211 100644
--- a/examples/python/mimetest.py
+++ b/examples/python/mimetest.py
@@ -90,7 +90,7 @@ def message_display_parts (msg, indent):
else:
# Save the attachements.
try:
- fname = part.get_attachment_name ()
+ fname, lang = part.get_attachment_name ()
except:
fname = util.tempname ()

Return to:

Send suggestions and report system problems to the System administrator.