diff --git a/openedx/core/lib/xblock_utils/__init__.py b/openedx/core/lib/xblock_utils/__init__.py index edef41abfd..0217a55b16 100644 --- a/openedx/core/lib/xblock_utils/__init__.py +++ b/openedx/core/lib/xblock_utils/__init__.py @@ -56,7 +56,7 @@ def request_token(request): """ # pylint: disable=protected-access if not hasattr(request, '_xblock_token'): - request._xblock_token = uuid.uuid1().get_hex() + request._xblock_token = uuid.uuid1().hex return request._xblock_token