Skip to content
Snippets Groups Projects
Commit 4d1769fd authored by Damian Alvarez's avatar Damian Alvarez
Browse files

Oopsie

parent 68853ac5
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ def inject_site_contact(ec, site_contacts):
email_found = re.search(r'[\w\.-]+@[\w\.-]+', ec_dict[key]).group(0)
if email_found:
site_contacts = site_contacts.replace('sc@fz-juelich.de', email, 1)
site_contacts = site_contacts.replace('sc@fz-juelich.de', email_found, 1)
ec.log.info("[parse hook] Injecting contact %s", value)
ec[key] = site_contacts
# Inject the default string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment