mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor fix
This commit is contained in:
parent
5375c705a0
commit
13b776fb9f
|
@ -79,7 +79,7 @@ if CONTENT:
|
||||||
msg["From"] = FROM
|
msg["From"] = FROM
|
||||||
msg["To"] = TO
|
msg["To"] = TO
|
||||||
|
|
||||||
for test_count, attachment in ATTACHMENTS:
|
for test_count, attachment in ATTACHMENTS.items():
|
||||||
attachment = MIMEText(attachment)
|
attachment = MIMEText(attachment)
|
||||||
attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count)
|
attachment.add_header('Content-Disposition', 'attachment', filename="test_case_%d_console_output.txt" % test_count)
|
||||||
msg.attach(attachment)
|
msg.attach(attachment)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user