diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-07-29 15:14:39 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-07-29 15:14:39 -0400 |
commit | f26c21cd5b7998c903fa67aaf164c07743fee651 (patch) | |
tree | cc1d073eee35ef991f072c20b50dae5ab4cf5299 /mediagoblin/moderation/tools.py | |
parent | 3aa3871b909500ae9198d63814dd79fd28921f93 (diff) | |
download | mediagoblin-f26c21cd5b7998c903fa67aaf164c07743fee651.tar.lz mediagoblin-f26c21cd5b7998c903fa67aaf164c07743fee651.tar.xz mediagoblin-f26c21cd5b7998c903fa67aaf164c07743fee651.zip |
This is a very small commit. All that I have done here is to clean up my code
a bit. I made it so that mediagoblin.user_pages.report recieves the report
form as part of it's context. I also made sure I used {% trans %} tags effect-
-ively.
Diffstat (limited to 'mediagoblin/moderation/tools.py')
-rw-r--r-- | mediagoblin/moderation/tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/moderation/tools.py b/mediagoblin/moderation/tools.py index 9a3b1c2e..25e5dc63 100644 --- a/mediagoblin/moderation/tools.py +++ b/mediagoblin/moderation/tools.py @@ -107,7 +107,7 @@ def take_punitive_actions(request, form, report, user): archive.result=form.resolution_content.data -# Session.add(archive) + Session.add(archive) Session.commit() if message_body: send_email( |