Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding ip to emails

  • Loading branch information...
commit 17c923f8f744631345e860ce31c8909696efcf13 1 parent 2938682
@progrium progrium authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.py
View
4 main.py
@@ -11,9 +11,9 @@ def post(self):
if message:
mail.send_mail(
sender="Anonymous <no-reply@hackerdojo-anonymous.appspotmail.com>",
- to="Hacker Dojo Directors <directors@hackerdojo.com>",
+ to="Directors <directors@hackerdojo.com>",
subject="An anonymous tip has been submitted",
- body=message)
+ body='%s\n\n---\n%s' % (message, self.request.remote_addr))
thankyou = True
self.response.out.write(template.render('main.html', locals()))
else:
Please sign in to comment.
Something went wrong with that request. Please try again.