From 4d52915d47c179be36f14e18665afe53dc3b963b Mon Sep 17 00:00:00 2001 From: Chris Klimowski Date: Thu, 6 Jun 2019 13:37:12 -0700 Subject: [PATCH] fix --- django/apps/importer/tasks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/apps/importer/tasks.py b/django/apps/importer/tasks.py index f4601e4..8a3a14f 100644 --- a/django/apps/importer/tasks.py +++ b/django/apps/importer/tasks.py @@ -48,7 +48,6 @@ def load_data(task_id): task = AsyncTask.objects.get(id=task_id) try: with transaction.atomic(using='file_data'): - # sources = ImportedDirectory.objects.all().delete() print('Deleting old data...') management.call_command('flush', '--database=file_data', interactive=False) print('Loading new data...')