Skip to content

Commit

Permalink
src/test_report: remove default value for smtp_port
Browse files Browse the repository at this point in the history
Provided default value `25` for `smtp_port` command line
option takes precedence over TOML setting for it.
This is causing SMTP connection errors and emails are
not working.
Remove the default value to fix it.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and gctucker committed Aug 7, 2023
1 parent c4f8c73 commit 1fba31b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ class cmd_loop(Command):
'name': '--smtp-port',
'help': "SMTP server port number",
'type': int,
'default': 25,
},
]

Expand Down

0 comments on commit 1fba31b

Please sign in to comment.