Commit 7cb4ff97 authored by ibuler's avatar ibuler

modify cmd_edit bug

parent 95cc2830
......@@ -550,7 +550,7 @@ def cmd_edit(request):
cmd_group_id = request.POST.get('cmd_group_id')
name = request.POST.get('name')
dept_id = request.POST.get('dept_id')
cmd = ','.join(request.POST.get('cmd').split())
cmd = ','.join(request.POST.get('cmd').split('\n'))
comment = request.POST.get('comment')
cmd_group = CmdGroup.objects.filter(id=cmd_group_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment