diff --git a/tester.py b/tester.py index f3851b4d2cb3714ac9055d86ed0c1d31966ab0bd..5366f6845b02efbc61865b501f2201e35c79935c 100755 --- a/tester.py +++ b/tester.py @@ -430,7 +430,8 @@ class Tester(): recipients = recipients.replace('sysadmin@ubicast.eu', '').replace(',,', ',') elif utils.get_conf('PREMIUM_SUPPORT') != '0': 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(',') if not recipients: log('No recipients defined for email sending. Set a value for EMAIL_ADMINS.')