summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-16 03:15:00 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-16 03:15:00 -0400
commit690fe8b44738282c3312969b146905ce578816a6 (patch)
treebfe4d072d6302f50d868a59ac9e54be05c690a66
parentfb7de73d27d28378028aa2ae5d8e7b969865211b (diff)
downloadaskbot-690fe8b44738282c3312969b146905ce578816a6.tar.gz
askbot-690fe8b44738282c3312969b146905ce578816a6.tar.bz2
askbot-690fe8b44738282c3312969b146905ce578816a6.zip
now use subject from the question sent by email
-rw-r--r--askbot/lamson_handlers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/askbot/lamson_handlers.py b/askbot/lamson_handlers.py
index ee37ff0b..9af17111 100644
--- a/askbot/lamson_handlers.py
+++ b/askbot/lamson_handlers.py
@@ -96,10 +96,8 @@ def get_attachments(message):
def ASK(message, host = None):
body = get_body(message)
attachments = get_attachments(message)
- subject = '[test; one; two;] this is a question title'#get_subject(message)
from_address = message.From
- import pdb
- pdb.set_trace()
+ subject = message.Subject
mail.process_emailed_question(from_address, subject, body, attachments)