Fix bug in print courses ownerId is not converted to ownerEmail (#1316)

This commit is contained in:
Ross Scroggs
2021-02-07 11:38:51 -08:00
committed by GitHub
parent 0e09675779
commit bf4a6e6cde

View File

@@ -2434,7 +2434,7 @@ def doPrintCourses():
if ownerEmails is not None:
ownerId = course['ownerId']
if ownerId not in ownerEmails:
ownerEmails[ownerId] = convertUIDtoEmailAddress(f'uid{ownerId}',
ownerEmails[ownerId] = convertUIDtoEmailAddress(f'uid:{ownerId}',
cd=cd)
course['ownerEmail'] = ownerEmails[ownerId]
for field in skipFieldsList: