Fix error, import a bad model class

remotes/origin/issue/4795/notification_even_they_are_disabled
David Barragán Merino 2016-05-09 11:47:36 +02:00
parent 9e897ca499
commit 576700afb6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def snapshot_tasks_in_bulk(bulk_data, user):
try: try:
task = models.Task.objects.get(pk=task_data['task_id']) task = models.Task.objects.get(pk=task_data['task_id'])
take_snapshot(task, user=user) take_snapshot(task, user=user)
except models.UserStory.DoesNotExist: except models.Task.DoesNotExist:
pass pass