diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-09-02 05:37:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-09-02 05:49:45 -0400 |
commit | 5e883676f6ceb20ef9a4e6b083bb01279b402b8b (patch) | |
tree | d753a9c247766f2be279b459e36590d619310d8a /www | |
parent | d74eaab05f1bc9ea6ddb44c54a98deef6872e43c (diff) | |
download | gpsd-5e883676f6ceb20ef9a4e6b083bb01279b402b8b.tar.gz |
Fix incorrectly wired-in address.
Diffstat (limited to 'www')
-rw-r--r-- | www/gps_report.cgi.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/www/gps_report.cgi.in b/www/gps_report.cgi.in index a4785cb0..14981cea 100644 --- a/www/gps_report.cgi.in +++ b/www/gps_report.cgi.in @@ -3,7 +3,6 @@ # @MASTER@ # # This is the CGI that processes the form return from GPS information form. -# We use Python 2.4 because ibiblio doesn't support a later version in CGI. # # The wackiness with output_sample_com happens because the user has to click # through twice - once to review and once to submit. Thus the content has @@ -99,7 +98,7 @@ if hasRequiredElements(form) and form.getvalue("action") == "Send Report": smtp = smtplib.SMTP("localhost") #smtp.set_debuglevel(1) try: - smtp.sendmail(servaddr, ["esr@thyrsus.com"], msg) + smtp.sendmail(servaddr, [to_address], msg) smtp.quit() print "<H1>New device report accepted.</H1>\n" print "<p>Your report on the %s %s was successfully recorded. Thanks for helping improve GPSD.\n" \ |