Skip to content

Commit

Permalink
Trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuchenb committed May 19, 2020
1 parent 6823ade commit fa8aef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assignmenttool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ def mail_feedback(config, participants, pdfs):
"""Send the feedback PDFs to the participants"""
if config.mail_smtp_user and not config.mail_smtp_pass:
config.smtp_password = getpass.getpass(f'Password for [{config.mail_smtp_user}@{config.mail_smtp_host}]: ')

smtp = SMTPClient.SMTPClient(
hostname = config.mail_smtp_host,
port = config.mail_smtp_port,
user = config.mail_smtp_user,
password = config.smtp_password,
tls = not config.mail_smtp_no_tls)

for user, pdf in pdfs.items():
# Lookup recipient name and email address
try:
Expand Down

0 comments on commit fa8aef7

Please sign in to comment.