From 10f5c798d434d437cde2544f79b90cbc42c8ec8d Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Sat, 21 Feb 2026 18:08:22 +0300 Subject: [PATCH] style(demo_data): fix line break for product image save method Simplify readability by unifying the method call into a single line. No functional changes. --- engine/core/management/commands/demo_data.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: