diff --git a/anytask/tasks/management/commands/send_task_notifications.py b/anytask/tasks/management/commands/send_task_notifications.py index 86c918ea..74df4ed6 100644 --- a/anytask/tasks/management/commands/send_task_notifications.py +++ b/anytask/tasks/management/commands/send_task_notifications.py @@ -44,7 +44,7 @@ def handle(self, **options): task_created = False task_changed = False - version_list = Version.objects.get_for_object(task).get_unique() + version_list = list(Version.objects.get_for_object(task).get_unique()) task_info = [''] * len(DIFF_FIELDS) for i_version, version in enumerate(version_list):