Commit 90657792 authored by Ola Hermann Opheim's avatar Ola Hermann Opheim
Browse files

fix failing method

parent 4a041cbf
......@@ -130,7 +130,7 @@ class Task(models.Model):
def __str__(self):
return str(self.id) + " " + self.title
def accepted_task_offer(self, task):
def accepted_task_offer(task):
task_offer = None
try:
task_offer = task.taskoffer_set.get(status='a')
......
Supports Markdown
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