Skip to content

Commit

Permalink
refactor: update path to store blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
NiedielnitsevIvan committed Nov 21, 2024
1 parent 4fd5ae8 commit 5faa2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/features/offline_mode/assets_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def block_storage_path(xblock=None, usage_key=None):
str: The constructed base storage path.
"""
loc = usage_key or getattr(xblock, 'location', None)
return f'{str(loc.course_key)}/' if loc else ''
return f'offline_content/{str(loc.course_key)}/' if loc else ''


def is_modified(xblock):
Expand Down

0 comments on commit 5faa2fa

Please sign in to comment.