diff --git a/engine/core/management/commands/demo_data.py b/engine/core/management/commands/demo_data.py index 1f5213da..6ab5c031 100644 --- a/engine/core/management/commands/demo_data.py +++ b/engine/core/management/commands/demo_data.py @@ -443,9 +443,7 @@ class Command(BaseCommand): alt=product.name, priority=priority, ) - product_image.image.save( - image_path.name, ContentFile(image_content), save=True - ) + product_image.image.save(image_path.name, ContentFile(image_content), save=True) @transaction.atomic def _create_demo_users(self, count: int) -> list: