From 8f4a917e985a6290ffda4a10482cbd4b928f18ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=86=D0=B2=D0=B0=D0=BD=20=D0=9D=D1=94=D0=B4=D1=94=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=96=D1=86=D0=B5=D0=B2?= Date: Thu, 21 Nov 2024 13:58:44 +0200 Subject: [PATCH] style: remote extra import --- openedx/features/offline_mode/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/features/offline_mode/tasks.py b/openedx/features/offline_mode/tasks.py index 6ec13454edf0..0fe4de0f51cd 100644 --- a/openedx/features/offline_mode/tasks.py +++ b/openedx/features/offline_mode/tasks.py @@ -10,7 +10,6 @@ from .assets_management import is_modified from .constants import MAX_RETRY_ATTEMPTS, OFFLINE_SUPPORTED_XBLOCKS, RETRY_BACKOFF_INITIAL_TIMEOUT -from .renderer import XBlockRenderer from .storage_management import OfflineContentGenerator @@ -34,7 +33,8 @@ def generate_offline_content_for_course(course_id): autoretry_for=(Http404,), retry_backoff=RETRY_BACKOFF_INITIAL_TIMEOUT, retry_kwargs={'max_retries': MAX_RETRY_ATTEMPTS} -)@set_code_owner_attribute +) +@set_code_owner_attribute def generate_offline_content_for_block(block_id): """ Generates offline content for the specified block.