Better space launch change email
This commit is contained in:
parent
237db73b5d
commit
5f13bff9bd
|
@ -6,12 +6,12 @@ import os
|
|||
import sys
|
||||
import typing
|
||||
from datetime import date, datetime
|
||||
from pprint import pformat
|
||||
from time import time
|
||||
|
||||
import deepdiff # type: ignore
|
||||
import flask
|
||||
import requests
|
||||
import yaml
|
||||
|
||||
import agenda.bristol_waste
|
||||
import agenda.fx
|
||||
|
@ -116,7 +116,9 @@ def report_space_launch_change(
|
|||
body = f"""
|
||||
A space launch of interest was updated.
|
||||
|
||||
{pformat(differences)}
|
||||
{yaml.dump(differences)}
|
||||
|
||||
https://edwardbetts.com/agenda/launches
|
||||
"""
|
||||
|
||||
agenda.mail.send_mail(config, subject, body)
|
||||
|
|
Loading…
Reference in a new issue