diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-03-21 22:16:11 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-03-21 22:16:11 -0400 |
commit | 64da2ab817d115fd750e7657766d60f1f1589f4c (patch) | |
tree | 7b3307955495ce1b9d7db3e0649de9e1bcda01d6 | |
parent | c15b1aca84362a8d4e56dda0602dea8a3d886028 (diff) | |
download | askbot-64da2ab817d115fd750e7657766d60f1f1589f4c.tar.gz askbot-64da2ab817d115fd750e7657766d60f1f1589f4c.tar.bz2 askbot-64da2ab817d115fd750e7657766d60f1f1589f4c.zip |
fixed one more bug
-rw-r--r-- | askbot/utils/mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |