Fix for 'UUID' object has no attribute 'get_hex' in openedx/core/lib/xblock_utils/__init__.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user