Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1788 from pypeclub/bugfix/ftrack_clone_review
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 authored Jul 7, 2021
2 parents fb9cb62 + 3d086c9 commit 45d7f65
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ def clone_review_session(session, entity):

# Add all invitees.
for invitee in entity["review_session_invitees"]:
# Make sure email is not None but string
email = invitee["email"] or ""
session.create(
"ReviewSessionInvitee",
{
"name": invitee["name"],
"email": invitee["email"],
"email": email,
"review_session": review_session
}
)
Expand Down

0 comments on commit 45d7f65

Please sign in to comment.