Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csklimowski committed Jun 6, 2019
1 parent 19c928e commit 4d52915
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion django/apps/importer/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...')
Expand Down

0 comments on commit 4d52915

Please sign in to comment.