summaryrefslogtreecommitdiff
path: root/taskapp/views/task.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskapp/views/task.py')
-rw-r--r--taskapp/views/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/taskapp/views/task.py b/taskapp/views/task.py
index 1bb0453..ec5046e 100644
--- a/taskapp/views/task.py
+++ b/taskapp/views/task.py
@@ -69,7 +69,7 @@ def upload_work(request, tid):
form = WorkReportForm(request.POST, request.FILES)
if form.is_valid():
- r = WorkReport(attachment = form.cleaned_data['remarks'],
+ r = WorkReport(attachment = form.cleaned_data['attachment'],
remarks = form.cleaned_data['remarks'],
revision = old_reports.count(),
task = task,