minor fix

This commit is contained in:
Bernardo Damele 2013-01-18 13:10:26 +00:00
parent 5375c705a0
commit 13b776fb9f

View File

@ -79,7 +79,7 @@ if CONTENT:
msg["From"] = FROM
msg["To"] = TO
for test_count, attachment in ATTACHMENTS:
for test_count, attachment in ATTACHMENTS.items():
attachment = MIMEText(attachment)
attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count)
msg.attach(attachment)