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
GlugovGrGlib committed Jun 26, 2024
1 parent 0a7a536 commit 8e29273
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 @@ -126,7 +126,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 8e29273

Please sign in to comment.