Skip to content
Snippets Groups Projects
Commit d47e992c authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Add premium address if missing.

parent 656aec6f
No related branches found
No related tags found
No related merge requests found
...@@ -431,7 +431,8 @@ class Tester(): ...@@ -431,7 +431,8 @@ class Tester():
recipients = recipients.replace('sysadmin@ubicast.eu', '').replace(',,', ',') recipients = recipients.replace('sysadmin@ubicast.eu', '').replace(',,', ',')
elif utils.get_conf('PREMIUM_SUPPORT') != '0': elif utils.get_conf('PREMIUM_SUPPORT') != '0':
system_domain = '[PREMIUM] %s' % system_domain system_domain = '[PREMIUM] %s' % system_domain
recipients = recipients.replace('sysadmin@ubicast.eu', 'sysadmin+premium@ubicast.eu') recipients = recipients.replace('sysadmin@ubicast.eu', '').replace(',,', ',')
recipients += ',sysadmin+premium@ubicast.eu'
recipients = recipients.strip(',') recipients = recipients.strip(',')
if not recipients: if not recipients:
log('No recipients defined for email sending. Set a value for EMAIL_ADMINS.') log('No recipients defined for email sending. Set a value for EMAIL_ADMINS.')
......
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