From 44cf8559528a49421785d01de8e15180a864cc0b 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, 6 Jun 2024 10:44:43 +0300 Subject: [PATCH] fix: [AXM-349] fix wrong filename --- 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 e942bcf6e3db..1b24505f0a0e 100644 --- a/openedx/features/offline_mode/assets_management.py +++ b/openedx/features/offline_mode/assets_management.py @@ -133,7 +133,7 @@ def is_modified(xblock): Args: xblock (XBlock): The XBlock instance to check. """ - file_path = os.path.join(block_storage_path(xblock), 'content_html.zip') + file_path = os.path.join(block_storage_path(xblock), OFFLINE_CONTENT_ARCHIVE_NAME) try: last_modified = default_storage.get_created_time(file_path)