From 64da2ab817d115fd750e7657766d60f1f1589f4c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Wed, 21 Mar 2012 22:16:11 -0400 Subject: fixed one more bug --- askbot/utils/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/askbot/utils/mail.py b/askbot/utils/mail.py index db09ce6a..dbdb3f13 100644 --- a/askbot/utils/mail.py +++ b/askbot/utils/mail.py @@ -218,7 +218,7 @@ def process_attachment(attachment): file_extension = os.path.splitext(attachment.name)[1] #todo: this is a hack - use content type if file_extension.lower() in ('.png', '.jpg', '.jpeg', '.gif'): - return '!' + markdown_link + markdown_link = '!' + markdown_link return markdown_link, file_storage def process_parts(parts): -- cgit v1.2.3-1-g7c22