Skip to content

Commit

Permalink
style: remote extra import
Browse files Browse the repository at this point in the history
  • Loading branch information
NiedielnitsevIvan committed Nov 21, 2024
1 parent de73e3b commit 8f4a917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openedx/features/offline_mode/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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.
Expand Down

0 comments on commit 8f4a917

Please sign in to comment.