From db91e4986946e0ff6c6ae66877f0863aa076c8f7 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Wed, 9 May 2018 14:20:10 +0200 Subject: [PATCH] Comment out this debug print, since it's no longer required, but should be moved to some logger() --- ivatar/ivataraccount/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ivatar/ivataraccount/forms.py b/ivatar/ivataraccount/forms.py index 324d708..2db40ed 100644 --- a/ivatar/ivataraccount/forms.py +++ b/ivatar/ivataraccount/forms.py @@ -55,8 +55,8 @@ class AddEmailForm(forms.Form): 'verification_link': link, 'site_name': settings.SITE_NAME, }) - if settings.DEBUG: - print('DEBUG: %s' % link) + #if settings.DEBUG: + # print('DEBUG: %s' % link) send_mail(email_subject, email_body, settings.SERVER_EMAIL, [unconfirmed.email]) return True