diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-04-01 16:15:13 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-04-01 16:15:13 -0400 |
commit | 45172ee760eb6210d9c153b6fe92888c79b662b0 (patch) | |
tree | a56ca37ac9d1b7c010c5be96bfd8e2f7382193e8 | |
parent | fb2127c41bfc75cfcc1274c0f164ad17e4e68bcc (diff) | |
download | korg-helpers-45172ee760eb6210d9c153b6fe92888c79b662b0.tar.gz |
Fix for when mailhost is not defined
Minor bug with using an undefined value.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | sig-prover.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sig-prover.py b/sig-prover.py index 412d9fd..4e00b77 100755 --- a/sig-prover.py +++ b/sig-prover.py @@ -261,7 +261,7 @@ def report_badness(config, furl, errors): mailhost = config.get('mailhost', 'localhost') try: - server = smtplib.SMTP(config['mailhost']) + server = smtplib.SMTP(mailhost) if config.getboolean('mailtls'): server.starttls() |