Archived
1
0

make posting work

This commit is contained in:
Jeff Becker 2016-11-10 08:46:01 -05:00
parent 801272ae7d
commit 2ae4f2268b
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -35,7 +35,8 @@ class Postable:
handle moderation parameters
"""
if 'modactions' in request.POST:
actions = request.POST['modactions'] + '\n'
actions = request.POST['modactions']
if len(actions) > 0:
body = ''
for line in actions.split('\n'):
line = line.strip()