From 2a52ec67d8f5af5000d1e6e7e6c2ceec87998101 Mon Sep 17 00:00:00 2001 From: Glib Glugovskiy Date: Thu, 27 Jun 2024 00:50:02 +0300 Subject: [PATCH] refactor: update path to store blocks --- openedx/features/offline_mode/assets_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/features/offline_mode/assets_management.py b/openedx/features/offline_mode/assets_management.py index 6e02a28ae5c8..0b30fa9f0afc 100644 --- a/openedx/features/offline_mode/assets_management.py +++ b/openedx/features/offline_mode/assets_management.py @@ -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):