diff --git a/clearml/backend_interface/task/task.py b/clearml/backend_interface/task/task.py index 9ef496c7..5f78ac41 100644 --- a/clearml/backend_interface/task/task.py +++ b/clearml/backend_interface/task/task.py @@ -1228,9 +1228,8 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin): def create_description(): if org_param and org_param.description: return org_param.description - created_description = "" - if org_k in descriptions: - created_description = descriptions[org_k] + # don't use get(org_k, "") here in case org_k in descriptions and the value is None + created_description = descriptions.get(org_k) or "" if isinstance(v, Enum): # append enum values to description if created_description: