When creating official reviews from the venue setup note, look for values to start with 'Yes' not equal 'Yes'
@@ -130,9 +130,9 @@ def get_review_stage(client, request_forum):
due_date = review_due_date,
allow_de_anonymization = (request_forum.content.get('Author and Reviewer Anonymity', None) == 'No anonymity'),
public = (request_forum.content.get('Open Reviewing Policy', None) == 'Submissions and reviews should both be public.'),
- release_to_authors = (request_forum.content.get('release_reviews_to_authors', False) == 'Yes'),
- release_to_reviewers = (request_forum.content.get('release_reviews_to_reviewers', False) == 'Yes'),
- email_pcs = (request_forum.content.get('email_program_Chairs_about_reviews', False) == 'Yes'),
+ release_to_authors = (request_forum.content.get('release_reviews_to_authors', '').startswith('Yes')),
+ release_to_reviewers = (request_forum.content.get('release_reviews_to_reviewers''').startswith('Yes')),
+ email_pcs = (request_forum.content.get('email_program_Chairs_about_reviews', '').startswith('Yes')),
additional_fields = review_form_additional_options,
remove_fields = review_form_remove_options
)
