diff --git a/apps/establishment/management/commands/add_establishment_description.py b/apps/establishment/management/commands/add_establishment_description.py index 4fc43409..380e2f1f 100644 --- a/apps/establishment/management/commands/add_establishment_description.py +++ b/apps/establishment/management/commands/add_establishment_description.py @@ -42,7 +42,7 @@ class Command(BaseCommand): ) for es_id, locale, text in text_qs: - establishment = Establishment.objects.filter(old_id=es_id, description__isnull=False).first() + establishment = Establishment.objects.filter(old_id=es_id, description__isnull=True).first() if establishment: description = establishment.description description.update({