Skip to content
Snippets Groups Projects
Commit 3fb279f8 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #11254: added the contact author's email address to the report recipients list

parent ac3ef7a7
No related branches found
No related tags found
No related merge requests found
......@@ -1060,8 +1060,10 @@ Total Files: %(total)i
project_details = self.__momrpc.get_project_details(project_mom2id)
if project_details and 'pi_email' in project_details:
extra_mail_addresses.append(project_details['pi_email'])
if project_details and 'author_email' in project_details:
extra_mail_addresses.append(project_details['author_email'])
except Exception as e:
logger.error('error while trying to get PI\'s email address for %s: %s', job_group_id, e)
logger.error('error while trying to get PI\'s/Contact-author\'s email address for %s: %s', job_group_id, e)
# submitters might contain comma seperated strings
# join all sumbitterstrings in one long csv string, split it, and get the unique submitters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment