diff --git a/ureport/polls/tasks.py b/ureport/polls/tasks.py index b1a024cae..e88f3c7a4 100644 --- a/ureport/polls/tasks.py +++ b/ureport/polls/tasks.py @@ -162,7 +162,7 @@ def clear_old_poll_results(org, since, until): syncing_window = now - timedelta(days=365) new_window = now - timedelta(days=14) - dupes_flow_uuid = {} + dupes_flow_uuid = set() old_polls = ( Poll.objects.filter(org=org)