Fix Logging typo (#377)

This commit is contained in:
Daniel Ternyak 2019-03-14 20:51:51 -05:00 committed by GitHub
parent 9b542ab1f1
commit d2e8acd704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ def make_envelope(to, type, email_args):
if user and 'subscription' in info:
sub = info['subscription']
if user and not is_subscribed(user.settings.email_subscriptions, sub):
app.logger.debug(f'Ignoring send_email to {to} of type {type} because user is unsubscribed.')
current_app.logger.debug(f'Ignoring send_email to {to} of type {type} because user is unsubscribed.')
return None
email = generate_email(type, email_args, user)